Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Repeating z/OS DFSORT: Getting Started SC23-6880-00 |
|
OUTFIL's REPEAT=n parameter lets you repeat each output record
n times. If you specify the BUILD, OUTREC, OVERLAY, or IFTHEN
parameters with a sequence number, the sequence numbers
are incremented for each repeated record, but otherwise the repeated
records are identical. For example, you could use the following statements
to create two output data sets with repeated records; one with just
the course name and the other with the course name and a sequence
number.
The results produced for OUT1 are:
The results produced for OUT2 are:
If you specify an IFTHEN clause with a sequence number, the sequence
number is only incremented for the subset of records selected by the
IFTHEN clause. For example, if you specified the following statements:
The results
produced for SORTOUT are:
|
Copyright IBM Corporation 1990, 2014
|