In ur input file there is only 3 headers & 3 footers or more number of headers & footers. If it is 3 only then u can use not equal opertor and sort the other records.
hi,
thanks for ur quick reply..
the thing is i have so many 'header - records - footer' sets.. the header and foooter should be same but the set of the records present should be sorted...... in between every header and footer.
hi,.
but it doesn't work,,,,,, it is mentioning only one set of 'header - record - footer'. but in my ip file after one footer is ended another header will begin which should not be touched.
Thanks for you reply....... but the thing is am using "PGM=SORT", and also explain what does those control cards mean so that i change according to my requirement........
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Quote:
but the thing is am using "PGM=SORT"
PGM=SORT or PGM=ICEMAN will invoke the sort product used at your site.
The link in the reply above your last reply is where to find the documentation of how "the new WHEN=GROUP and the other new functions" operate.
Quote:
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
my PGM=SORT is invoking ICEMAN that am aware,,, but the thing is i doesn't understand the control cards mentioned in the above example can any one explain them.............
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
These control statements are fully explained in the DFSORT documentation. The Smart Tricks manual at the link I provided earlier gives you all the explanation you need.