In CA OPS/MVS, as part of an automation process or a rule, it is possible to issue commands using OPSOSF address spaces as servers that handle asynchronous action requests. It could be something looking like the following:
"-STOP DDF MODE(FORCE)"
It can happen that the above STOP command related to DB2 task gets the following error:
DSN9016I COMMAND REJECTED, UNAUTHORIZED REQUEST
OPS1181H OPSOSF OPSS (*Local*) MVS N/A DB2STOP +STOP DB2
How to determine what OPSMVS ACID or userid should be defined and authorized in DB2 for these command?
In order to correctly execute DB2 oper commands from within an automation process executed via OPSOSF Service tasks, it is necessary that the userid of the OPSOSF Server is authorized in DB2 to issue these oper commands (in this case the STOP command).