Getting this -3 error running a REXX program:
OPT3092O 28 *-* ADDRESS OPER
OPT3092O 29 *-* "D T"
OPT3092O >L> "D T"
OPT3092O +++ RC(-3) +++
OPS/MVS Event Management & Automation
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/
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"