Job sequencer not returning error status
Posted: Sun Dec 02, 2018 6:03 am
Hello,
Datastage version 11.5
I do have a Sequencer Job Jq_Batch_Id_Temporaire thats is starting a Parallel Job Jx_Id_Temporaire.
This is run thru a dsjob command line in a script as follow :
dsjob -server :$DSRPCD_PORT_NUMBER -run -jobstatus w83_dev Jq_Batch_Id_Temporaire
STATUS=$?
When a warning occurs in Parallel job Jx_Id_Temporaire (Warning, status 2), the job status of the Sequencer Jq_Batch_Id_Temporaire finishes OK (status 1).
So the warning is not caught in the script running the dsjob, which finishes OK, STATUS=1
Is there an easy way to get the get the status of the Sequencer job with the warning status?
Thanks for your help.
Datastage version 11.5
I do have a Sequencer Job Jq_Batch_Id_Temporaire thats is starting a Parallel Job Jx_Id_Temporaire.
This is run thru a dsjob command line in a script as follow :
dsjob -server :$DSRPCD_PORT_NUMBER -run -jobstatus w83_dev Jq_Batch_Id_Temporaire
STATUS=$?
When a warning occurs in Parallel job Jx_Id_Temporaire (Warning, status 2), the job status of the Sequencer Jq_Batch_Id_Temporaire finishes OK (status 1).
So the warning is not caught in the script running the dsjob, which finishes OK, STATUS=1
Is there an easy way to get the get the status of the Sequencer job with the warning status?
Thanks for your help.