JOB Control 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
Rubu
Premium Member
Premium Member
Posts: 82
Joined: Sun Feb 27, 2005 9:09 pm
Location: Bangalore

JOB Control Error

Post by Rubu »

Hi All

Whenever I try to add any function call or executable statement (e.g. CAll DSLogInfo)in Job control of a job The following error is thrown.

Attempting to Cleanup after ABORT raised in stage JOB_XYZ..JobControl

I am not able to guess any reason for that.

Regards
rubu
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Can you post the exact routine that you are trying to call from job control.

Regards
Saravanan
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

You need to pass 2 params.

Call DSLogInfo(message, controller_name)
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Are you able to compile the job the successfully? Compilation is successful even if only one parameter is passed to the routine.

If the compilation is not successful, can you post the code to call the routine?

Regards
Saravanan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Does the invoked routine execute either an ABORT statement or the DSLogFatal() routine? Does the job control routine execute either of these? If so, start looking there.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

DSLogInfo does throw that error if you pass only one arg.
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Sainath,

Error occurred while compiling the job or running the job?. Am using DS7.5 and i do not encounter any problem when the function called with one argument.

Call DSLogInfo("Test") - This function was called in one of the job and the compilation of the job was successful. But the job got aborted while running the job.

Regards
Saravanan
Post Reply