To recover data from your last edit session, issue the EDIT command entering the same data set name that you were working on at the time of the failure and include the RECOVER operand. You are placed in edit mode and the work file data set is used as input for the current edit session. The current line pointer is positioned at the top of the data set.
Note the following:
__________________________________________________________________________________
| |
| READY |
| PROFILE RECOVER |
| READY |
| EDIT lions old data |
| EDIT |
| ckpoint 5 |
| list |
| 00010 THE |
| 00020 EDIT |
| 00030 LOST, |
| 00040 REENTER |
| 00050 COMMAND |
| 00060 AND |
| 00070 SAVE |
| 00080 ENTRY |
| c 30 /lost,/recovery/ |
| c 40 /reenter/feature/ |
| c 50 /command/saves/ |
| c 60 /and/you/ |
| c 70 /save/time and/ |
| (System automatically takes a checkpoint after |
| fifth line of modifications.) |
| c 80 /entry/repetition/ |
| (Assuming system failure has occurred here, your edit |
| session will terminate abnormally. When the system |
| is restored, issue the LOGON command and reenter the |
| EDIT command including the RECOVER operand.) |
| |
| EDIT lions old data RECOVER |
| EDIT |
| list |
| 00010 THE |
| 00020 EDIT |
| 00030 RECOVERY |
| 00040 FEATURE |
| 00050 SAVES |
| 00060 YOU |
| 00070 TIME AND |
| 00080 ENTRY |
| c 80 /entry/repetition/ |
| (Note: The last line was not kept. All other changes |
| were kept in the EDIT work file (utility data set) |
| making it necessary to reenter only one line.) |
| |
|__________________________________________________________________________________|
Figure 26. Sample Edit Session Using the CKPOINT Subcommand and the RECOVER Operand of EDIT
© Copyright IBM Corp. 1988, 2000
Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]
Glossary - IBM Dictionary of Computing
How to: [ Order publications | Contact OS/390 ]