Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 6 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how you can use IFTHEN clauses with INREC to reformat different records in different ways. IFOUTLEN=57 is used to set the reformatted record length to 57. Records with 'GP' in positions 5-6 and X'01' in position 2 are
reformatted as follows:
Records with 'GP' in positions 5-6 and X'02' in position
2 are reformatted as follows:
Records with 'GP' in positions 5-6 and X'03' in position
2 are reformatted as follows:
Records without 'GP' in positions 5-6 or without X'01', X'02',
or X'03' in position 2 are reformatted as follows:
|
Copyright IBM Corporation 1990, 2014
|