Handling return codes
You need to place the return codes from the access control authorization routine in the EXPL field named EXPLRC1. The EXPLRC1 value affects Db2 processing.
About this task
| Value | Meaning |
|---|---|
| 0 | Initialization successful. |
| 12 | Unable to service request; don't call exit again. |
Db2 does not
check EXPLRC1 on return from the exit routine during termination.
Make sure that EXPLRC1 has one of the following values during the
authorization check.
| Value | Meaning |
|---|---|
| 0 | Access permitted. |
| 4 | Unable to determine; perform Db2 authorization checking. |
| 8 | Access denied. |
| 12 | Unable to service request; don't call exit routine again. |
On authorization failures, the return code is included in the IFCID 140 trace record.