Error Handling
Information about the outcome of your request is returned to your program in several different ways:
idmscu
Information about the outcome of your request is returned to your program in several different ways:
- The outcome of any request is indicated in register 15. In most cases, register 15 is all that needs to be checked.
- For debugging purposes, the following fields in the UIOCB contain additional information:
- The UIOUCM2 field of the UIOCB contains CA IDMS/DC secondary error codes.
- The UIOURTC field of the UIOCB contains VTAM return code and feedback information.
- The UIOUSEI, UIOUSMI, and UIOUUSI fields of the UIOCB contain SNA sense codes.
The following table lists the sense codes CA IDMS/DC sends to the remote LU to inform the remote system of errors encountered in conversation processing. Sense codes are specified with a 4-byte hexadecimal value. CA IDMS/DC sends the following SNA sense codes to inform the remote system of errors encountered in conversation processing.
Sense code
| CA IDMS/DC definition
| SNA meaning
|
10086021 | Task not defined to CA IDMS/DC | Allocation error, TPN not recognized |
084C0000 | Task out of service | Allocation error, TPN not available |
10086041 | Sync-level not supported | Sync-level not supported |
080F6051 | Security violation | Security not valid |
08640000 | Task abended | Deallocate abend |
08890000 | #TREQ WRITE,OPTNS=ERROR sent | Send error request |
08890101 | Invalid LU6.2 GDS-ID | Invalid GDS-ID |
08460000 | ERP message forthcoming | ERP message forthcoming |
08240000 | Rollback requested | Syncpoint rollback |
08130000 | Bracket bid reject (no RTR) | Allocate failure |
08010000 | Resource unavailable (busy) | Allocate failure |
08060000 | Resource unknown (LU not defined) | Allocate failure |
08210000 | Invalid session parameters | Allocate failure |