|
|
| Author |
Message |
shyamshankarj
New User
Joined: 04 Apr 2004 Posts: 4 Location: Chennai
|
|
|
|
hi,
can anyone tell me the syntax for checking more than one condition in INCLUDE CONDition.
with thanks & regards,
Shyam SHankar J |
|
| Back to top |
|
 |
References
|
Posted: Sun Apr 04, 2004 2:17 am Post subject: Re: regarding the INCLUDE CONDintion in the JCL sort |
 |
|
|
 |
bluebird
Specialist
Joined: 03 Feb 2004 Posts: 144
|
|
|
|
here goes :
SORT FIELDS=COPY
INCLUDE COND=(60,8,CH,EQ,C'D********',OR,
2,1,CH,EQ,C'S',AND,60,16,CH,EQ,C'****************')
in this case or means either side of this must be true, AND means both side of the condition must be true.
hope it helps |
|
| Back to top |
|
 |
shyamshankarj
New User
Joined: 04 Apr 2004 Posts: 4 Location: Chennai
|
|
|
|
thanks |
|
| Back to top |
|
 |
bluebird
Specialist
Joined: 03 Feb 2004 Posts: 144
|
|
|
|
I've modified my post as there was a typo in it.
hope u did notice. |
|
| Back to top |
|
 |
|
|