Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CONTROM-M IN-Condition of JOB - OR Condition

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
syprakash

New User


Joined: 16 Feb 2010
Posts: 3
Location: bangalore

PostPosted: Fri Dec 16, 2011 3:34 pm    Post subject: CONTROM-M IN-Condition of JOB - OR Condition
Reply with quote

Dears,
In the IN-CONDITION of a job(Mainframe Control-m), how to include "OR condition"?

For example, JOB#1 have 2 IN-conditions (IN-A, IN-B), can JOB#1 be triggered if either one of conditions((IN-A, IN-B) satisfied? If yes can you please give me examples.
Code:

! =========================================================================== !
 ! IN       $-AAAAAAAA-CCCCCCCC  ODAT      $-BBBBBBBB-CCCCCCCC  ODAT           !
 !                                                                             !
 ! CONTROL                                                                     !
 ! RESOURCE                                                                    !
 ! FROM TIME         +     DAYS    UNTIL TIME >    +     DAYS                  !
 ! DUE OUT TIME      +     DAYS    PRIORITY 15  SAC    CONFIRM                 !
 ! TIME ZONE:                                                                  !

Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Sat Dec 17, 2011 3:48 am    Post subject:
Reply with quote

Hi,

the manual is quite clear on the use of OR conditions.

This is how to achieve your request

Code:
===========================================================================
IN       (|IN-A               ODAT      |IN-B)               ODAT         
                                                                           
CONTROL                                                                   
RESOURCE                                                                   
FROM TIME         +     DAYS    UNTIL TIME      +     DAYS                 
DUE OUT TIME      +     DAYS    PRIORITY AA  SAC    CONFIRM               


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

New User


Joined: 16 Feb 2010
Posts: 3
Location: bangalore

PostPosted: Mon Dec 19, 2011 7:51 pm    Post subject: Reply to: CONTROM-M IN-Condition of JOB - OR Condition
Reply with quote

Thanks Gerry, If possible, kindly share the manual.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Dec 19, 2011 10:40 pm    Post subject:
Reply with quote

Hello,

If your organization is licensed to use the product(s) all of the material is available from BMC Support.

Do not ask for copyright material here as we are permitted neither to post it nor link to it.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Mon Dec 19, 2011 10:58 pm    Post subject:
Reply with quote

Or just put your cursor in the "IN" condition field and press PF1. Lots of information there.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts 2 vsam file compare and update a fiel... ABINAYATHULASI DFSORT/ICETOOL 6 Sun May 29, 2016 11:15 am
No new posts File matching using specific condition mf_karthik DFSORT/ICETOOL 3 Fri Nov 20, 2015 11:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us