Stop job routine for another job

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
amckinne
Participant
Posts: 8
Joined: Tue Mar 26, 2002 8:14 am

Stop job routine for another job

Post by amckinne »

Can anyone tell me how to code a custom routine that will call DSLogFatal subroutine to abort a job that is not in the present job that contains the routine?

Ex. JOB1: running
JOB2: routine that stops JOB1

Thanks,
Angela
Starg
Participant
Posts: 16
Joined: Sun May 05, 2002 6:56 pm
Contact:

Post by Starg »

Angela,
Not too sure if this is possible but can you setup the JOB1 Jobhandle as a common variable, and therefore have access to that handle from JOB2. Then you could issue a job stop as normal.


Starg
Post Reply