CUT primary command

The CUT command copies one or more lines of data from the current edit or view session into a clipboard for later retrieval by the PASTE command.

Syntax


1 CUT?  clipboard_name
1! REPLACE
1 APPEND
1 X
1 NX
3?  from_label to_label
clipname
Name of a clipboard to 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.
APPEND
Copied data is added to the existing contents of the clipboard.
REPLACE
Copied data replaces the existing contents of the clipboard.
NX
Copy only not-excluded records.
X
Copy only excluded records.
from_label
Label identifying the start of a range of records from which data is to be copied to the clipboard. 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.
to_label
Label identifying the end of a range of records from which data is to be copied to the clipboard. 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.

Availability

Related tasks and examples