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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top