Trying to get the attribute NUMRESZIIP using OPSBCPII instruction GETATTR instruction in OPS/REXX and getting this error:
OPBCP999E - ( OPIIRQL ) hwiquery failed - RC=401 CommErr=0 Mismatch
OPM0349T ADDRESSHWS - GETATTR failure. RC: 16 ; RSC: X'00000401'
OPM0997T *-* 56:Address "HWS" "GETATTR ATTR('"attr"') ENTITY("fullEntity")",
OPM0997T +++ RC(16)
OPSBCPII OPS/REXX
The target entity type for the NUMRESZIIP attribute must be an Image Activation Profile. For example:
XATRDTYP='NUMRESZIIP'
ADDRESS HWS
"GETATTR ATTR('"XATRDTYP"')",
"ENTITY(CPC('xxxxxxxx') IAP('nnnn'))",
"DEBUG(YES) TIMEOUT(30)"
SAY 'RESPONSE='HWS.XATRDTYP
Reference in the OPS/MVS 14.0 documentation: