Previous Topic: COLSNext Topic: COUNTS


COPY

Copies records from another data set into your EDIT or VIEW session.

The COPY primary command accepts no arguments but must be accompanied by an A or B line command to identify the target location for the copy. Specify an A on a line to insert records after that line. Specify a B on a line to insert records before that line.

The COPY command prompts you for the name of the data set (and optionally the member and volume serial number) that contains the records that you want to copy. You can use section criteria to limit the records to copy.

Copy selected records directly into your EDIT or VIEW session or choose to preview the selected records before completing the copy operation. If you choose the preview option, the selected records are displayed in a new edit session for a temporary data set. You can modify, insert, or delete records. Press PF3 to copy the modified record set into your original edit session.