COPY

Copies the current display to the specified data set name.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-COPY--+---------------+-------------------------------------><
         '-data_set_name-'   

where:
data_set_name
The data set to which the display is to be written.

The standard TSO naming convention for data sets is assumed, that is, if the data set name is not enclosed in single quotes, the current TSO prefix is used as the high-level qualifier. If the data set is partitioned, a member name must also be specified in parenthesis after the data set name.

If no data set name is specified, a pop-up panel is displayed from which the data set name can be entered.

The copied data is truncated if the logical record length of the data set is insufficient.

For more information about the COPY command and an example of its use, see Copying interactive displays to a file.