Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CUT—Cut and Save Lines z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The CUT macro command saves lines to one of eleven named clipboards for later retrieval by the PASTE command. The lines can be appended to lines already saved by a previous CUT command or the lines can replace the existing contents of a clipboard. SyntaxMacro command syntax >>-ISREDIT--CUT-------------------------------------------------> .-.ZFIRST--.ZLAST----. .-DEFAULT--------. >--+--------------------+--+----------------+--+----+--+---------+--> +-labela--labelb-----+ '-clipboard_name-' +-X--+ +-APPEND--+ '-linenum1--linenum2-' '-NX-' '-REPLACE-' >--+--------+-------------------------------------------------->< +-ASCII--+ +-EBCDIC-+ '-UTF8---'
DescriptionCUT saves copies of lines from an edit session to a clipboard for later retrieval by the PASTE command. The lines are copied from the session to the named clipboard. Lines are specified by label names on the CUT command. The edit macro CUT command always copies lines to the clipboard and does not delete them from the edit session. If you specify a clipboard name, lines are copied to that clipboard. If the specified clipboard does not yet exist, it is created. ISPF provides a default clipboard named DEFAULT. You can use up to 10 other clipboards that you define. The defined clipboards exist as long as you are logged on to TSO and are deleted when you log off. You can view the contents of clipboards and rename existing clipboards using the DISPLAY keyword of the CUT command. Return codes
ExamplesTo save all the lines in the current
file to the default clipboard, appending them to lines already in
the clipboard:
To
save all the lines in the current file to a clipboard named USERC1,
replacing any lines already in the clipboard:
|
Copyright IBM Corporation 1990, 2014
|