how can I stop my job via script?

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
cmueller
Participant
Posts: 46
Joined: Wed Oct 23, 2002 7:10 am

Post by cmueller »

Have you tried to use the job handle instead of DSJ.ME: DSStopJob(job.handle) ?
cmueller
Participant
Posts: 46
Joined: Wed Oct 23, 2002 7:10 am

Post by cmueller »

Using the actual job handle was only a suggestion to see if there may have been an issue with DSJ.ME. The -1 indicates a bad handle:
Equ DSJE.BADHANDLE To -1 ;* Invalid JobHandle ( from JOBCONTROL.H file).
Post Reply