Exception processing
During initialization or authorization checking, Db2 issues diagnostic message DSNX210I to the operator's console when an error condition occur.
- The authorization exit returns a return code of 12 or an invalid return code.
- The authorization exit abnormally terminates.
Additional actions that Db2 performs depend on the reason code that the exit returns during initialization. The following is a list of these actions.
| Exit result | Reason code of 16 returned by exit routine during initialization | Reason code other than 16 or -1 returned by exit routine during initialization1 |
|---|---|---|
| Return code 12 |
|
|
| Invalid return code |
|
|
| Abnormal termination during initialization | Db2 terminates | Db2 switches to Db2 authorization checking |
| Abnormal termination during authorization checking | You can use the subsystem parameter AEXITLIM3 to
control how Db2 and the exit
behave. Example: If you set AEXITLIM to 10, the exit routine continues to run after the first 10 abnormal terminations. On the eleventh abnormal termination, the exit stops and Db2 terminates. |
You can use the subsystem parameter AEXITLIM to
control how Db2 and the exit
behave. Example: If you set AEXITLIM to 10, the exit routine continues to run after the first 10 abnormal terminations. On the eleventh abnormal termination, the exit routine stops and Db2 switches to Db2 authorization checking. |
| Note:
|
||