Hi,
I have created a script to import list of DSX to datatsage which is running through Command Prompt. Let me know which error return code I can capture in case job is unsuccessful while importing or failed to import.
Error return code for DsImport
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
All DataStage command line executables are well-formed, in that they generate an exit status of 0 if successful, and a non-zero exit status otherwise.
The exit status can be captured through the shell variable $? if on UNIX or %ERRORLEVEL% if on Windows.
The exit status can be captured through the shell variable $? if on UNIX or %ERRORLEVEL% if on Windows.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.