Recovering data in IMS programs
Online IMS systems handle recovery and restart. For a batch region, the operational procedures control recovery and restart for your location.
Procedure
To recover data in IMS programs:
Take one or more of the following actions depending on
the type of program:
| Program type | Recommended action |
|---|---|
| DL/I batch applications | Use the DL/I batch backout utility to back out DL/I changes. Db2 automatically backs out changes whenever the application program abends. |
| Applications that use symbolic checkpoints | Use a restart call (XRST) to restart a program after an abend. This call restores the program's data areas to the way they were when the program terminated abnormally, and it restarts the program from the last checkpoint call that the program issued before terminating abnormally. |
| BMP programs that access Db2 databases | Restart the program from the latest checkpoint. Restriction: You can restart the program only from the latest
checkpoint and not from any checkpoint, as in IMS.
|
| Applications that use online IMS systems | No action needed. Recovery and restart are part of the IMS system |
| Applications that reside in the batch region | Follow your location's operational procedures to control recovery and restart. |