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
Release : 14.0
Component : OPS/MVS
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)'