Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
USER_STATE—Save or Restore User State z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The USER_STATE assignment statement saves or restores the state of edit profile values, FIND, CHANGE, SEEK, and EXCLUDE values, and panel and cursor values. SyntaxAssignment statement syntax >>-ISREDIT--(varname)-- = --USER_STATE------------------------->< >>-ISREDIT--USER_STATE-- = --(varname)-------------------------><
DescriptionUSER_STATE can be used at the beginning of a macro to save conditions, and at the end of a macro to restore the conditions that may have changed during processing. Many of the values saved by USER_STATE can be saved and restored individually. The USER_STATE assignment statement is a simple way of saving many values with a single statement. These edit modes and values are saved and restored by USER_STATE:
Return codes
ExamplesTo save the user state in variable &STATUS:
To restore
the user state from variable &STATUS:
|
Copyright IBM Corporation 1990, 2014
|