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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Usage notes<br />

longer than the specified record length, the edit session will not load the file<br />

and will issue the customary message that a line is too long.<br />

1. OEDIT attempts to load the file into a VB255 session. If this is an ISPF that<br />

supports wide edit (such as ISPF 4.1) and any line exceeds 235 characters, the<br />

width for the new session is the length of the longest line plus 25% to allow for<br />

some expansion.<br />

2. The COPY command cannot copy in files that have records wider than the edit<br />

session.<br />

3. The TSO region size must be large enough to hold the size of the file to be<br />

edited.<br />

4. Two ISPF variables are available to edit macros:<br />

v HFSCWD this variable contains the pathname for the directory in which the<br />

file being edited resides.<br />

v HFSNAME this variable contains the name of the file being edited.<br />

OGET — Copy z/<strong>OS</strong> <strong>UNIX</strong> files into an MVS data set<br />

Format<br />

Description<br />

Parameters<br />

OGET ’pathname’<br />

mvs_data_set_name | mvs_data_set_name(member_name)<br />

BINARY | TEXT<br />

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

You can use the OGET command to copy an z/<strong>OS</strong> <strong>UNIX</strong> system file:<br />

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

v To an MVS sequential data set<br />

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

is being copied. Do not use the CONVERT option when copying files that contain<br />

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

data.<br />

pathname<br />

Specifies the pathname of the file that is being copied to a data set. This<br />

operand is required. The pathname is:<br />

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

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

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

v Up to 1023 characters long.<br />

v Enclosed in single quotes.<br />

OEDIT<br />

v In uppercase or lowercase characters, which are not changed by the system.<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 to receive the file that is being copied. One of these two operands<br />

is required. The data set name is:<br />

Chapter 3. TSO/E commands 845

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

Saved successfully!

Ooh no, something went wrong!