REXX Execution by batch jobs without a SYSEXEC DD
search cancel

REXX Execution by batch jobs without a SYSEXEC DD

book

Article ID: 237960

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

We are executing a REXX program for opening and closing CICS files and we need a solution for the problem below that is not the inclusion of a SYSEXEC card inside the job:

OPS0902E Cannot find program XXXX SYSEXEC DDNAME is not allocated

 

Environment

Release : 14.0

Component : OPS/MVS

Resolution

To call an OPS/REXX program in batch without having to include a SYSEXEC DD statement you can use the OX program instead of OI.

Example:

//STEP0001 EXEC PGM=OX,  
// PARM='PROG(CAI.OPS.REXX(program)) ARG(parm1 parm2)'