IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Control M Scheduler


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhiyanta

New User


Joined: 18 Apr 2006
Posts: 11
Location: pune

PostPosted: Mon Mar 08, 2010 11:45 am
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Mar 08, 2010 3:43 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Dynamically build sort control statem... SYNCSORT 18
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts OPCP scheduler questio IBM Tools 0
No new posts Help Control-R IBM Tools 2
No new posts How can I select certain file dependi... JCL & VSAM 12
Search our Forums:


Back to Top