Page 1 of 1

job control - sequencer giving error

Posted: Wed Oct 26, 2005 3:38 am
by hemant
Hi ,I am using sequencer and at a time i am getting two triggers ....could suggest !and where as job is completed successfully.
------------------------------------
sud_rout7..JobControl (UtilityMessageToLog): USER INFO: GL Other Dimension successfully completed JOB=> sud_rout7 STAGE=> JobControl LINK=> -8
sud_rout7..JobControl (fatal error from UtilityAbortToLog): USER INFO: GL Other Dimension Aborted JOB=> sud_rout7 STAGE=> JobControl LINK=> -8


Regards
Hemant

Posted: Wed Oct 26, 2005 5:28 am
by roy
Hi,
Please give more details regarding your sequence job design, Also I'm not sure I understood the problem so please give more detatils.

Posted: Wed Oct 26, 2005 4:26 pm
by ray.wurlod
You will find, by inspecting JOBCONTROL.H, that -8 means "not in stage"; typically, that DSGetStageInfo() or DSGetLinkInfo() was called using DSJ.ME for the stage name but you were not executing in a stage at the time.

In your case you were executing in a Routine (in, or invoking, one of UtilityMessageToLog or UtilityAbortToLog), so you clearly weren't in a stage. You need to figure out a mechanism to get the actual stage name to the call to DSGetStageInfo() or DSGetLinkInfo().

You may need to adapt the Utility... routines.