Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
SETUNDO—Set UNDO Mode z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The SETUNDO macro command allows the UNDO function to be turned on or off and retrieves the current UNDO status. SyntaxMacro command syntax .-STORAGE-. >>-ISREDIT--SETUNDO--+---------+------------------------------->< +-KEEP----+ +-RECOVER-+ +-ON------+ '-OFF-----'
Assignment statement syntax >>-ISREDIT--(varname)-- = --SETUNDO---------------------------->< .-STORAGE-. >>-ISREDIT--SETUNDO-- = --+---------+-------------------------->< +-KEEP----+ +-RECOVER-+ +-ON------+ '-OFF-----'
DescriptionThe SETUNDO macro command enables undo processing. It does not perform the undo function itself. Valid operands are STORAGE, KEEP, RECOVER, ON, or OFF. If SETUNDO is set on by a macro and was not on already, the UNDO function is enabled for all interactions started from the point SETUNDO was turned on. Note:
Return codes
ExamplesTo disable the saving of edit
changes in storage:
To
enable the saving of edit changes in storage:
To
store the value of SETUNDO in the variable &SET:
|
Copyright IBM Corporation 1990, 2014
|