16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OPUT<br />

OPUT — Copy an MVS data set member into a z/<strong>OS</strong> <strong>UNIX</strong> system file<br />

Format<br />

Description<br />

Parameters<br />

OPUT mvs_data_set_name | mvs_data_set_name(member_name)<br />

’pathname’<br />

BINARY | TEXT<br />

CONVERT(character_conversion_table | YES | NO)<br />

You can use the OPUT command to:<br />

v Copy a member of an MVS partitioned data set (PDS or PDSE) to a file<br />

v Copy an MVS sequential data set to a file<br />

and convert the data from code page IBM-037 or ASCII to code page IBM-1047.<br />

Do not use the CONVERT option when copying files that contain doublebyte data.<br />

This option is used for singlebyte data only, not for doublebyte data.<br />

mvs_data_set_name | mvs_data_set_name(member_name)<br />

Specifies the name of an MVS sequential data set or an MVS partitioned data<br />

set member that is being copied.<br />

v A fully qualified name that is enclosed in single quotes, or an unqualified<br />

name (an unqualified name is not enclosed in single quotes)<br />

v Up to 44 characters long, with an additional 8 characters for the member<br />

name<br />

v Converted to uppercase characters by the system<br />

pathname<br />

Specifies the path name of the file to receive the data set member that is being<br />

copied. The target file cannot be a directory. All directories in the path name<br />

prior to the file name directory must already exist. The path name is:<br />

v A relative or absolute path name. A relative path name is relative to the<br />

working directory of the TSO/E session (usually the HOME directory).<br />

Therefore, you should usually specify an absolute path name.<br />

v Up to 1023 characters long.<br />

v Enclosed in single quotes.<br />

v In uppercase or lowercase characters, which are not changed by the system.<br />

BINARY | TEXT<br />

specifies that the data set being copied contains binary data or text.<br />

BINARY<br />

Specifies that the data set being copied contains binary data. This is the<br />

default for a data set of undefined record format.<br />

TEXT<br />

Specifies that the data set being copied contains text. This is the default for<br />

a data set of fixed record format or variable record format.<br />

CONVERT(character_conversion_table | YES | NO)<br />

Specifies that the data being copied is to be converted from IBM-037 or ASCII<br />

to EBCDIC Latin 1/Open <strong>System</strong>s Interconnection code page 01047—that is,<br />

866 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!