ISPF EDIT AUTOMATIC RECOVERY panel after a dropped session: continue, DEFER or CANCEL
After a session drop, ISPF Edit can restore unsaved changes. On the Edit Recovery panel press Enter to recover, type DEFER to wait, or CANCEL to discard.
Your TSO session dropped while you were editing a member in ISPF. The next time you start an edit session, ISPF first shows a panel headed EDIT AUTOMATIC RECOVERY (panel ISREDM02) with the name of the data set. It means ISPF kept a record of your edit session and can rebuild it, including the changes you had not saved.
The choices on the panel
- Enter: recover. The edit session opens again as it was at the time of the failure. Look over the data, then
SAVE(orEND) as usual. If you had set a recovery macro withRMACRO, it runs first. - DEFER: not now. The recovery data is kept, and the panel comes back the next time you use Edit.
- CANCEL: throw the recovery data away. The member stays as it was last saved, and your unsaved changes are lost.
- END: go back to the previous panel.
If more than one data set has recovery data, the panel appears again for each one.
Check before you save a recovered session. If someone else edited the same member after your session dropped, saving the recovered data overwrites their changes. When in doubt, recover, save a copy under another member name, and compare the two.
Why it happens, and turning it off
Edit recovery works only when recovery mode is on. With it on, the editor writes each change to a recovery data set as you work. The setting is kept in your edit profile, so it stays the same for every data set that uses that profile:
RECOVERY ON
RECOVERY OFF
RECOVERY can be shortened to REC. Turning it off saves some I/O and disk space, but then a dropped session loses everything since your last SAVE.
Recovery needs the data set, the recovery data set and the recovery table to still exist and be cataloged. If the data set was uncataloged, renamed or deleted after the failure, recovery fails.
Related
- Reconnect to a TSO session after the connection drops
- ISPF Edit commands: X ALL, FIND ALL, FLIP, DELETE ALL NX and block line commands
- ISPF "Data set in use", who has it and what to do
- Exit ISPF: PF3, =X and the Specify Disposition panel
- ISPF navigation basics