z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Recovery macros

z/OS ISPF Edit and Edit Macros
SC19-3621-00

After a system failure, you might want to restore the command definitions and aliases that you were using when the system failed, but you do not want to destroy the profile changes you made during the edit session before the failure.

To help to recover after a system failure, you can provide a recovery macro which can restore command definitions and aliases while not destroying profile changes made before the failure. The recovery macro, like an initial macro, runs after the data has been read but before it is displayed. However, the macro is run whenever the recovery data set is being edited.

You can specify a recovery macro:
  • By entering the RMACRO primary command:
    RMACRO name
  • In your initial macro by using the RMACRO assignment statement:
    ISREDIT RMACRO = name
    where name sets the name of the macro for the edit session. The name operand is used to specify the name of the macro to be run after a data set has been recovered.
Note: Recovery macros are only in effect for the duration of a particular Edit session. They must be specified again each time a new member or data set is edited.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014