Copying data from a clipboard (PASTE)

Use the PASTE primary command to copy records from a clipboard into the current edit or view session.

If records in the clipboard are longer than the record length of the data set being edited, the records are truncated.

Use the A or B prefix commands, or AFTER or BEFORE with a label, to specify the destination of the records.

If you specified a name of a clipboard with the CUT command, you must use that name on the PASTE command to retrieve the contents of that clipboard.

To empty the clipboard after the PASTE completes, use the DELETE keyword.

To copy the records from the clipboard (instead of moving them), use the KEEP keyword.

Related topics