The trailer record will NOT be treated as a data record, that is, no other OUTFIL processing will be performed against the trailer record. You can optionally specify that the header (first) record will NOT be treated as a data record.
Not a feature, but working as designed and described.
Joined: 29 Oct 2010 Posts: 194 Location: Toronto, ON, Canada
The DFSORT manual has 173 pages to describe the operation of the OUTFIL statement. About 3.5 pages cover the IFTRAIL. I missed the 2 sentences buried in the middle to state the header and trailer records are kept as is. It seems to function similiar to the icetool DATASORT in how it treats the header/trailer.