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

Can anyoune Please tell me the meaning of the statement


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Moumita Paul

New User


Joined: 10 Mar 2011
Posts: 2
Location: India

PostPosted: Thu Mar 10, 2011 12:59 pm
Reply with quote

INCLUDE COND=(2,3,CH,EQ,C'002')
SORT FIELDS=(2,15,CH,A)
OUTREC FIELDS=(2,3,4:C'16',5,42,33X)"
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 10, 2011 1:04 pm
Reply with quote

the manuals of the sort product installed in your organization will tell all

the statements are simple enough that You can find out Yourself

to save You some of Your precious time here is a link to the DFSORT manuals
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ice1sh50

even if DFSORT is not the product used in Your organization
the three statements You asked about have the same syntax and meaning in all the <sort> products
Back to top
View user's profile Send private message
Moumita Paul

New User


Joined: 10 Mar 2011
Posts: 2
Location: India

PostPosted: Thu Mar 10, 2011 2:35 pm
Reply with quote

Hi enrico,

Please tell me if I am in the right way...

The syntax implies that..

It will sort the input file in ascending order from column 2 to 16 where the alphanumeric value of the input records starting from column 2 to column 4 is '002'

In the output file it will contain the records from column 2 to 4 of the input file and next to it 16 will be appended and again it will contain value from column 5 till 46 and then it will have 33 blankspace....???
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 10, 2011 2:43 pm
Reply with quote

What were the results after you tried this
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Mar 10, 2011 4:06 pm
Reply with quote

Moumita Paul wrote:
It will sort the input file in ascending order from column 2 to 16 where the alphanumeric value of the input records starting from column 2 to column 4 is '002'

In the output file it will contain the records from column 2 to 4 of the input file and next to it 16 will be appended and again it will contain value from column 5 till 46 and then it will have 33 blankspace....???
Yes, this sounds correct. Do you see any differences in your experiments?
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 JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
No new posts DFDSS COPY using Filter REFDT statement JCL & VSAM 2
Search our Forums:

Back to Top