Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
So, have an INREC BUILD to put the "02" on the details records, this is with an 80-byte record, amend accordingly:
Code: |
INREC BUILD=(C'02',1,80) |
For the header and trailer, you want to look at OUTFIL reporting functions, specifically HEADER1 and TRAILER1. There are examples in the forum and in the manuals. |
|