RC(-3) Running REXX Program

book

Article ID: 140668

calendar_today

Updated On:

Products

CA OPS/MVS Event Management & Automation

Issue/Introduction

Getting this error running a REXX program:

OPT3092O     28 *-*   ADDRESS OPER
OPT3092O     29 *-*   "D T"      
OPT3092O        >L>     "D T"    
OPT3092O        +++ RC(-3) +++   

Cause

The return code -3 indicates a command is running on a wrong environment.

In this case the command is an OPS/MVS ADDRESS OPER command that was being run under TSO/REXX instead of OPS/REXX environment/


Environment

Release : 13.0 and 13.5

Component : OPS/MVS

Resolution

To run a REXX program under OPS/REXX environment the OI or OX command processors must be used.

For example, the rule calling this program should use:

ADDRESS OSF "OI rexx-pgm-name"