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

CONTROM-M IN-Condition of JOB - OR Condition


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Sat Dec 17, 2011 3:48 am
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
Reply with quote

Thanks Gerry, If possible, kindly share the manual.
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: Mon Dec 19, 2011 10:40 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
No new posts Dynamic condition checks COBOL Programming 5
No new posts Extract 2 more lines below line that ... DFSORT/ICETOOL 2
Search our Forums:

Back to Top