the trailer count unsigned ZD?
Peter
-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Frank Yaeger
Sent: Wednesday, March 03, 2010 12:45 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: SORT question: How to store record count in existing
trailer
Peter Farley wrote on 03/08/2010 10:53:05 AM:
I just got around to trying your solution, and it works well EXCEPT...
I need the output trailer count to be UNsigned zoned decimal.
Is there any way I can make the trailer count unsigned ZD? I tried
specifying TO=UFF, but it did not like that:
M11 is exactly what I needed, thank you very much!
Peter
-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Frank Yaeger
Sent: Monday, March 08, 2010 2:05 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: SORT question: How to store record
Hi Frank,
Thanks for the suggested solutions. In my case, the header and trailer
are identifiable (HDR=X'00', TRLR=X'FF', pos 1 for let's say at least 10
bytes).
The file is VB, LRECL=8004, and the data records vary widely in length.
Header and trailer are length 700 always, but both header and
Peter Farley wrote on 03/03/2010 07:16:55 AM:
Thanks for the suggested solutions. In my case, the header and trailer
are identifiable (HDR=X'00', TRLR=X'FF', pos 1 for let's say at least 10
bytes).
The file is VB, LRECL=8004, and the data records vary widely in length.
Header and trailer
[mailto:ibm-m...@bama.ua.edu] On
Behalf Of Frank Yaeger
Sent: Wednesday, March 03, 2010 12:45 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: SORT question: How to store record count in existing
trailer?
Snipped
Peter,
That's no problem. Here's a DFSORT job that will do what you asked
for:
//S1
I suspect this is a question for Frank Yeager, but if anyone else has
done this I'd appreciate the help.
Looking at the Smart DFSORT Tricks PDF I see how to sort detail
records between a header and a trailer. So far, so good.
Now, though, I need to reset the record count in the existing trailer
Peter Farley wrote on 03/02/2010 02:30:27 PM:
SORT question: How to store record count in existing trailer?
I suspect this is a question for Frank Yaeger, but if anyone else has
done this I'd appreciate the help.
Looking at the Smart DFSORT Tricks PDF I see how to sort detail
records
Peter,
I suspect you've gone home for the day and I'll be in a few hours after you
in the morning
(I'm on the West Coast).
So I'll show you some examples of how to do what you want to do with
DFSORT/ICETOOL.
I'm assuming that your input file has RECFM=FB and LRECL=80. If it has
RECFM=VB and/or
9 matches
Mail list logo