OPS/MVS

 View Only
  • 1.  OPSVASRV in System REXX

    Posted Jan 29, 2020 08:26 AM
    ​I'm writing a system rexx routine in which I want to retrieve the contents of some sysplex variables. When I try to use the OPSVASRV function or command I get

    OPS3851E GLOBAL VARIABLES REQUEST NOT AUTHORIZED - OPER authority required

    I'm invoking the system rexx from a batch job running an assembler routine which issues the AXREXX macro and has SECURITY defaulting to BYUTOKEN

    My own TSO id and the id's for the AXRnn system rexx tasks all have OPERATOR so I'm puzzled as to why I'm getting the issue

    Anyone done this before?

    ------------------------------
    Kevin
    ------------------------------


  • 2.  RE: OPSVASRV in System REXX
    Best Answer

    Broadcom Employee
    Posted Jan 29, 2020 10:32 AM

    Hi Kevin,

    You may need to create and enable a SEC rule as below:

    )SEC OPSGLOBALGLVPLX*
    )PROC
    if SEC.OPAUUSID = 'xxxxxxx' then
    return 'ACCEPT'

    Where xxxxxxx is the userid assigned to your batch job.

    Regards,

    Mario




  • 3.  RE: OPSVASRV in System REXX

    Posted Feb 21, 2020 03:24 AM
    Worked a treat, thanks​