Copying interactive displays to a file

The COPY command can be used to write a copy of the current display (which includes the entire scrollable area) to a sequential data set or a member in a partitioned data set. (For the command syntax, see COPY.)

For example, if entering the command:
the current display is written to member A in the partitioned data set 'prefix.PRINT', where prefix is the current TSO prefix.

If the COPY command is entered without any parameters, a pop-up panel from which the data set name can be specified is displayed.