Return codes
To pass the authorization status from the user authorization exit back to the calling program, use an appropriate return code.
The return code is interpreted as follows:
- RC 0
- The user is authorized, and the requested data is passed to the user.
- RC 4
- The user is not authorized, and the requested data is not passed to the user.
- RC 8
- The user authorization exit detected an irrecoverable error. The Data Collector deactivates the exit. A message is written to the console. Standard OMEGAMON for Db2® PE authorization applies from now on.
Any other return code is treated as RC 8.