OPS1107E CURRENT MVS COMMAND NOT AUTHORIZED - OPER authority required
search cancel

OPS1107E CURRENT MVS COMMAND NOT AUTHORIZED - OPER authority required

book

Article ID: 118012

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

I'm running the OPSCMD command from a System Rexx program invocated by Health Checker. We are receiving the following error message: >O> "OPSCMD COMMAND('DISPLAY PROG,EXIT,EXITNAME=SYS.IEFU83,DIAG') C MDRESP(REXX) PREFIX(cmdresp)" OPS1107E CURRENT MVS COMMAND NOT AUTHORIZED - OPER authority required +++ RC(28) +++ The Racf userid assigned to this REXX is STCHZS: 456 *-* say userid() >F> "STCHZS" STCHZS 457 *-* "LU STCHZS" >L> "LU STCHZS" USER=STCHZS NAME=USER STC OWNER=STCGRP CREATED=12.067 DEFAULT-GROUP=STCGRP PASSDATE=N/A PASS-INTERVAL=N/A PHRASEDATE=N/A ATTRIBUTES=PROTECTED REVOKE DATE=NONE RESUME DATE=NONE LAST-ACCESS=18.296/10:00:52 CLASS AUTHORIZATIONS=NONE INSTALLATION-DATA=STC HEALTH CHECKER NO-MODEL-NAME LOGON ALLOWED (DAYS) (TIME) --------------------------------------------- The RACF id of system rexx is ARXUSER and it has been granted OPER authority. I can change the Rexx to make retrieve additinal information if it is needed. What can be the problem ? The STCHZS (Health Checker id where the Rexx program is invocated) and ARXUSER (System Rexx user) have OPER authority.

Environment

Release:
Component: OPSMVS

Resolution

If the address space is not a TSO address space it cannot have OPER authority since it exists in the TSO SEGMENT.

So you will need a security rule to allow the access.

)SEC OPSCMD*
)PROC
IF SEC.OPAUUSID = 'STCHZS' then RETURN ACCEPT
RETURN