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

regarding the INCLUDE CONDintion in the JCL sort


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shyamshankarj

New User


Joined: 04 Apr 2004
Posts: 4
Location: Chennai

PostPosted: Sun Apr 04, 2004 2:17 am
Reply with quote

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

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Apr 05, 2004 12:14 pm
Reply with quote

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

New User


Joined: 04 Apr 2004
Posts: 4
Location: Chennai

PostPosted: Mon Apr 05, 2004 11:43 pm
Reply with quote

icon_lol.gif
thanks
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Thu Apr 15, 2004 12:17 pm
Reply with quote

I've modified my post as there was a typo in it.

hope u did notice.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts ISRDSLST(3.4) Do not include addition... TSO/ISPF 0
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts GDG generation name to GDG Base name ... DFSORT/ICETOOL 3
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
Search our Forums:

Back to Top