z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 4

z/OS DFSORT Application Programming Guide
SC23-6878-00

 SUM FIELDS=(41,8,49,4),FORMAT=ZD 
 OUTFIL OUTREC=(1,40,41,8,ZD,M11,49,4,ZD,M11,53,28)

These statements illustrate the use of the OUTFIL statement to ensure that all positive ZD summary fields in the output data set are printable. Whereas the ZDPRINT option affects only positive summed ZD fields, OUTFIL can be used to edit positive or negative BI, FI, PD, or ZD values, whether they are summed or not. OUTFIL can also be used to produce multiple output data sets, reports, and so on. See OUTFIL control statements for complete details about OUTFIL processing.

Note: For purposes of illustration, this example assumes that the input records are 80 bytes long.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014