Return codes

IMS DEDB Fast Recovery issues a return code at the end of a job step. You can use the return codes to determine the recovery step, or diagnose, troubleshoot, and solve IMS DEDB Fast Recovery problems.

The following table lists the return codes that might be issued by IMS DEDB Fast Recovery.
Table 1. Return codes of IMS DEDB Fast Recovery
Code Meaning
0 The program has ended normally.

If DBRC=Y, do a cold start of the failed IMS system with the /ERE COLDSYS command or an IMS emergency restart with the /ERE COLDBASE command.

If DBRC=N, recover the DBRC RECON data set, then perform a cold start of the failed IMS system.

4 The program has completed.

See the program message and take the necessary action.

8 The program has completed.
Before the IMS cold start, check the following to preserve the data integrity of the database:
  • There are DEDB areas that are not yet recovered.
  • There are DL/I databases that must be recovered.
  • There are DL/I databases that must be backed out.
  • There are databases or DEDB areas that must be stopped before starting an application program after cold start.

See the recovery status lists and take the necessary actions. Then, if DBRC=Y, perform an IMS cold start with the /ERE COLDSYS command or an IMS emergency restart with the /ERE COLDBASE command. If DBRC=N, recover the DBRC RECON data set, then perform an IMS cold start with the /ERE COLDSYS command.

16 The program detected a user operation error. Or, the process was terminated by a reply, made by the user, to a message requiring a response.

See the program message and correct the error in the JCL statements or control statements, and then run the job again.