search cancel

OPS/MVS - What are the Return Codes for the OPSUBMIT Function?

book

Article ID: 201406

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Where can the return codes for the OPSUBMIT function be found?   

Environment

Release : 13.5

Component : OPS/MVS

Resolution

The OPSUBMIT function does not have it's own return codes.  There are 2 types of errors that could occur when using OPSUBMIT(), REXX errors such as ERROR 40 Invalid call to Routine OR Invalid arguments; and Dynamic allocation errors from the IBM macro DYNALLOC.  Normally the DYNALLOC errors are produced via MVS messages and contain specific reason codes. 

The Return codes for Dynamic Allocation can be found here:  https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa800/erc.htm#erc__mjfig7