--------------------------------
$INCLUDE DSINCLUDE JOBCONTROL.H
Call DSSetUserStatus (Arg1)
Ans = Arg1
--------------------------------
If Agr1 has Value as 0 then Success or 100 then Failure.This value we are getting with the
Code: Select all
$dsadm/dsjob -run -mode NORMAL -warn 0 -wait -param -userstatus $PROJECTName JobName.$IterationNum
Result=`echo $?`
We are calling this server routine at the end of the sequencer, just before exiting it.
Now when i am running a check pointed Sequencer, which has couple of Child sequencers, then in case of failure i am not reseting the master sequencer, so that i can able to start the run from the failed job.
Now even if the Sequencer is getting finished properly incase to re-start, its retruning a value as 0 from the above routine, but user status value is not returning any value or some times it will return a value as 255 from the Command line.
Please let me know whether its going wrong.