OPS/REXX programs apparently not getting invoked after upgrade to OPS/MVS 12.3 or higher. ADDRESS TSO "OI pgmname" gets RC=4.

Document ID : KB000006656
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

OPS/REXX programs invoked using ADDRESS TSO "OI pgname" don't execute. The return code of the "OI" command is 4.

If the EDQ (External Data Queue) is read the following messages can be seen:

GET OF nnnnnnnn BYTES IN SUBPOOL X'00' ERROR RC=X'00000004' REQUESTED BY OPSMMG+X'000780 
MESSAGE QUEUE GETMAIN FAILED, RC=X'04', DETECTED AT OPSMMG+X'000007D6' 
ALLOCATION OF EXTERNAL DATA QUEUE FAILED, RC=4

 

Environment:
z/OS
Cause:

From CA OPS/MVS 12.3 on, the amount of storage necessary for a same REXXMAXQUEUE value has increased.

 

Resolution:

Increase the value of the REGION keyword of the OSF server JCL (OPSOSF). 

If your site standards permit, use REGION=0M.

Additional Information:

Other relevant information regarding upgrading from a previous release to CA OPS/MVS 12.3 or higher:

https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1037203.html