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

Maybe Condition in Control-M


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

New User


Joined: 29 Jan 2007
Posts: 61
Location: Makati City, Philippines

PostPosted: Fri Jun 08, 2012 1:41 am
Reply with quote

Hello,

Can somebody please give me an idea how 'MAYBE' condition in COntrol-M works?

Thanks!
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Jun 08, 2012 1:56 am
Reply with quote

Why don't you try the part of the forum that deals with Control-M? This is the JCL part - Job Control Language.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 08, 2012 2:55 am
Reply with quote

Hello,

Many of the Control-M topics are in the "Other Mainframe Topics" part of the forum, so i'll move this topic to that part of the forum.

Unfortunately, there are Control-M topics in several other parts of the forum as well. . .
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Jun 08, 2012 6:51 am
Reply with quote

Hi,

is there something not clear when reading the manual ?


Gerry
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 08, 2012 7:48 am
Reply with quote

Hello,

When you read the manual, if you find something that is not clear, post what you found and your doubt. Someone will be able to clarify.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Jun 08, 2012 5:21 pm
Reply with quote

In a nutshell, it's a condition that comes from a a prior job in the schedule that will not always run.

Good example:
You have a job, Z, which backs up a database. You want to run it only after all of the jobs that update said database have finished.

Your Monday-Thursday schedule has three jobs, A, B, and C which update that database. On Friday and only Friday, there is a fourth job, D.

So you set up job Z to have jobs A, B, and C as in-conditions, and to have job D as a Maybe Condition. Control-M will only wait for D if it has been scheduled, otherwise, it will only wait for A, B, and C.

There are a lot of little rules for this, for things like when did job D get placed in the AJF, and if job D is in the right "groups." So be sure to study it all as if you are taking a test. You can also use those built-in utilities to test your schedules without running them.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts Control-M Delay All Other Mainframe Topics 0
Search our Forums:

Back to Top