Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 10. Sort with OUTFIL z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how you can remove characters from FB or VB records. The VB input records might look like this in hexadecimal:
We want to remove each X'00' and X'FF' character. We use IN=(X'00',X'FF') to indicate we want to find each X'00' and X'FF' character, and OUT=C'' (null) to indicate we want to remove it. The output records look like this:
Note that the X'00' and X'FF' characters have been removed and the RDW length decreased accordingly. For VB input records, FINDREP processing automatically starts at position 5 after the RDW so the X'00' characters in the RDW are not affected. |
Copyright IBM Corporation 1990, 2014
|