Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 10 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how multiple OUTFIL output and blank records
can be produced from each OUTFIL input record. The input data set
has an LRECL of 50 and contains the following three records:
The first OUTFIL statement creates the data set associated with ddname ALL. This data set will have an LRECL of 40 (the length of the longest output record; the one that includes the 26,20 input field). Each input record will result in two data records followed by two blank records as follows: ALL data set
The second OUTFIL statement creates the two data sets associated with ddnames US and WW. These data sets will have an LRECL of 37 (the length of the longest output record; the one that includes the 26,20 input field). Each input record will result in two data records. SPLIT will cause the first data record to be written to the US data set and the second data record to be written to the WW data set. Thus, each input record will create one record in each OUTFIL data set as follows: US data set
WW data set
|
Copyright IBM Corporation 1990, 2014
|