Problem using commands for controlling Datastage Jobs
Posted: Mon Mar 07, 2011 7:33 pm
Hello,
We've got a problem using commands for controlling Datastage Jobs. In a Sequence Job We are executing the following in a Execution Command stage called "Ec_EjecutaJob":
We want to catch that if the job that is being executed (PruebaSoky_send) fails, the Sequence job that executed the command fails too. The following logs show the detail of both executions. The first log represent the upper Sequence job, it returns the Status code = 0 meaning that the PruebaSoky_send job finished "OK" but it did not as we can see in log detail 2.
Log detail 1:
Log detail 2:
Thanks in Advance,
Franky 22''
We've got a problem using commands for controlling Datastage Jobs. In a Sequence Job We are executing the following in a Execution Command stage called "Ec_EjecutaJob":
Code: Select all
dsjob -run -wait Md_ctrl_proys PruebaSoky_send
Log detail 1:
Prueba_Reset_job..JobControl (@Ec_ResetJob): Executed: dsjob -run -wait -mode RESET Md_ctrl_proys PruebaSoky_send
Reply=0
Output from command ====>
Waiting for job...
Finished waiting for job
Status code = 0
Log detail 2:
I don't know if there is a bug with this command or if i'm doing something wrong that i'm not aware of. Could you please help me? I'd appreciate any peace of advice you could provide.PruebaSoky_send..JobControl (fatal error from @Terminator_Activity_3): Sequence abort requested
Status code = 0
Thanks in Advance,
Franky 22''