PASTE primary command

The PASTE command copies lines of data from a clipboard to the current edit or view session.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-PASTE--+----------------+--+----------------------+---------->
          '-clipboard_name-'  +-BEFORE--before_label-+   
                              '-AFTER--after_label---'   

   .-KEEP---.   
>--+--------+--------------------------------------------------><
   '-DELETE-'   

clipname
Name of a clipboard from which data is to be copied. The default High Level Qualifier (HLQ) is used. Typically, the default is the TSO PREFIX for your user ID.
before_label
Label identifying the line in the current edit or view session after which the data from the clipboard is to be copied. The label must start with a period (.) followed by one to four alphabetic characters (no numeric or special characters). Labels starting with the letter “Z” indicate an editor-assigned label.
after_label
Label identifying the line in the current edit or view session before which the data from the clipboard is to be copied. The label must start with a period (.) followed by one to four alphabetic characters (no numeric or special characters). Labels starting with the letter “Z” indicate an editor-assigned label.
KEEP
Copied data from the clipboard remains on the clipboard.
DELETE
Copied data from the clipboard removed from the clipboard.

Related tasks and examples