job control - sequencer giving error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
hemant
Participant
Posts: 67
Joined: Mon Dec 15, 2003 6:43 am

job control - sequencer giving error

Post 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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post 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.
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply