Page 1 of 1

Sort fields difference

Posted: Wed Jul 04, 2007 7:10 pm
by govardhan
What is the difference between Inrec fields and outrec fields.

Posted: Wed Jul 04, 2007 7:31 pm
by dbzTHEdinosauer
The INREC control statement allows you to reformat the input records before they are sorted, merged, or copied
OUTREC Specifies how records are reformatted after they are sorted, copied, or merged.
BUILD or FIELDS: The existing FIELDS parameter, or its new alias of BUILD, allows you to reformat each record by specifying all of its items one by one. BUILD or FIELDS gives you complete control over the items you want in your reformatted INREC or OUTREC records and the order in which they appear. You can delete, rearrange and insert fields and constants
Here is a link to the DFSORT manuals.