Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 5 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how you can use the OVERLAY parameter with INREC and OUTREC to change certain columns in your records without affecting other columns. Positions 61-65 of the reformatted input records are overlaid with a 5-byte PD value derived from adding the sddd,ddd.dd field at positions 21-31 to the sddd,ddd.dd field at positions 41-51. The records are then sorted by this 5-byte PD field. Positions 61-71 of the reformatted output records are overlaid with an sddd,ddd.dd field derived from the 5-byte PD value. The data before positions 61-71 and after positions 61-71 are not affected |
Copyright IBM Corporation 1990, 2014
|