View previous topic :: View next topic
|
Author |
Message |
abhiyanta
New User
Joined: 18 Apr 2006 Posts: 11 Location: pune
|
|
|
|
Hi
I m new to Control M. In my project we are using conrtrol M to schedule to mainfram batch jobs.
I would like to know How i can schedule the job which will run only when prior job ends unsucessfully.
Thanks,
Bharat Salunke |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
you can either force the job in when previous job is unsuccessful or you can post a condition (if the job is already loaded) when job is unsuccessful.
ie.
Code: |
ON PGMST ANYSTEP PROCST CODES NOTOK A/O
DO FORCEJOB TABLE XXXXXXX JOB XXXXXXXX DATE ODAT
LIBRARY XXX.XXXX.XXXX.XXXXXXXX
|
or
Code: |
ON PGMST ANYSTEP PROCST CODES NOTOK A/O
DO COND XXX ODAT +
|
You really should talk to your scheduling group, this is pretty basic stuff.
Gerry |
|
Back to top |
|
|
|