ERROR OPS$500E The service has encountered a situation it doesn't know how to handle, with OPSREST json Error: OPS$633E rc=20
search cancel

ERROR OPS$500E The service has encountered a situation it doesn't know how to handle, with OPSREST json Error: OPS$633E rc=20

book

Article ID: 404799

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

When testing via ZOWE using swagger to do a GET for a rule, we are seeing the below error in the opsREST.log .

ERROR OPS$633E ....  rc=20

Environment

OPS/MVS RESTAPI 

Cause

customization configuration was incomplete

Resolution

For the OPS$6333, the error reveals that the "OPS_REXXLIB was not set."   This variable should be set in the OPSREST server proc.  By default as: 

export OPS_REXXLIB=&OPSHLVL..CCLXEXEC

The &OPSHLVL variable specified in this definition should have been customized earlier in the OPSREST proc using the following statement:

// SET OPSHLVL='CAI.OPSMVS.'             <--- Customize

The value for this OPSHLVL JCL variable should be set to the high-level qualifiers of the deployed runtime copy of the OPS/MVS installation data sets as described in step 5e of the section "Configure the  REST API" in the OPS/MVS manual