Previous Topic: Diagnosing ErrorsNext Topic: What to Look For When Inaccurate Data is Returned


What to Look For When Errors Occur During Program Processing

Error-byte Field

Check the error-byte field in the work area prefix of each file processed by the program. The contents of the error-byte field indicate:

If the error-byte field of a work area prefix contains a value other than '0000', the error occurred while that file was being handled by IMBSBRDG.

For more information on error-byte values, see IMBSBRDG program module.

CA IDMS/DB Communications Block

Check the CA IDMS/DB communications block (SSCTRL) in IMBSTAB. If an error occurred during CA IDMS/DB processing, the IDMS Communications Block will contain an error status code other than '0000' and the name of the record last involved in the operation that resulted in the error.

Note: For more information on the complete listing of CA IDMS/DB error codes, see the CA IDMS Messages and Codes Guide.

Process Indicators

Check which process indicator in the work area prefix was being handled at the time that the error occurred.

IMBSBRDG generates this process indicator:

In response to:

MGET

GE$T

MPUT

PU$T

STKY

ST$KY

STDA

ST$DA

Table Generation and Accuracy

Verify that the IMBSEQ, IMBSCOBL, or IMBSPL1 table has been generated and is accurate if any sequential processing functions are requested by the program.

Subschema and DMCL Module

Verify that the subschema name known to CA IDMS/DB is available, and that the DMCL module is available.

IMBS Parameters

Verify the accuracy of the parameters input to the IMBS customizing macro.