Error Code and Error Handling
Posted: Tue May 08, 2007 9:17 pm
Is it possible to provide application defined return code in DS? If so how is it done
?
Thanks
?
Thanks
ray.wurlod wrote:No.
However, if you call DataStage jobs using dsjob from a script, you can re-map the standard exit codes within that script. ...
Code: Select all
dsjob -run -jobstatus ...
exitstatus=$?
if [ $exitstatus -eq 0 ] then
exit 20
fi