I have one input file with Header, Detail, and Trailer record. There are more than one header and trailer records. I want to omit some Detail records from the file and want to update any one trailer record.
Input File -
RECFM = FB
LRECL = 1300
01 REC-TYPE PIX X(02).
88 HEADER-REC VALUE '10'.
88 DETAIL-REC VALUE '20'.
88 TRAILER-REC VALUE '90'.
Recorde to be Omited
I have used following SORT CARD but it's not working.
Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
What do you mean by "it's not working"?
Please post all sysouts related to "it's not working".
What does the input look like?
What does the "it's not working" output look like?
What would the output look like if it was working?
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: