Example of data conversion specified by a user
Use the OPUT command for conversion of single-byte data. You can copy a sequential data set or partitioned data set member to a UNIX file. Code page conversion is an option.
Example: Issue:
OPUT WORKLOAD.TOTALS(OCT17) 'u/turbo/wkld/totals/oct17' TEXT CONVERT(YES)Result: The user ID TURBO copied a member from a PDSE into a file. The partitioned data set member OCT17 was copied from the data set TURBO.WORKLOAD.TOTALS to a text file with the path name /u/turbo/wkld/totals/oct17. Data was converted from the z/OS® UNIX country-extended code page to code page 01047, using the default conversion table because YES was specified. To use a different conversion table, specify its name—for example, BPXFX311 for conversion from the ASCII conversion table. If you do not want conversion, omit the CONVERT operand.