Getting a RC=-3 when running the REXX program with the ADDRESS SQL host environment:
/* REXX */
job = CICSA
"Select CURRENT_STATE from STCTBL where NAME = '"job"'"
OPS3092H 4 *-* "Select CURRENT_STATE from STCTBL where NAME =
OPS3092H +++ RC(-3) +++
Release : 14.0
Component : OPS/MVS
Usually this rc -3 occurs when an OPS/REXX program is being executed as a TSO/REXX program.
To execute a REXX program as a OPS/REXX use the OI or OX command processors. For example: