View previous topic :: View next topic
|
Author |
Message |
Moumita Paul
New User
Joined: 10 Mar 2011 Posts: 2 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Moumita Paul
New User
Joined: 10 Mar 2011 Posts: 2 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What were the results after you tried this |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|