0C3 completion code for OPSUBMIT from REXX program called from OPS Rule
search cancel

0C3 completion code for OPSUBMIT from REXX program called from OPS Rule

book

Article ID: 124976

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Client creating a new rule that invokes the OPSUBMIT exec but abends S0C3.

Environment

Release:
Component: OPSMVS

Cause

The root cause is the operating environment. OPSUBMIT is an OPSMVS REXX EXEC . The parameter OSFGETJOBID must be set to yes,
and the REXX EXEC must specify that it is an OPSMVS REXX EXEC by starting 'OI'.

 

Once corrected the rule ran as intended.

Resolution

The OPSUBMIT function can be used only in OPS/REXX. So the line Address OSF "IEC205I " DSN VOL needs changed to Address OSF "OI IEC205I " DSN VOL