Previous Topic: Execute OPS/REXX Programs from BatchNext Topic: Invoke an OPS/REXX Program Explicitly


Invoke an OPS/REXX Program Implicitly

To invoke an OPS/REXX program implicitly and run it as a batch job, use the following JCL:

//stepname EXEC PGM=OI,PARM='member argument'
//OPSEXEC DD DSN=user.compiled.library
//        DD DSN=OPS.SYS.CCLXOPEX
//SYSEXEC DD DSN=library,DISP=SHR

The DSN parameter must give a fully qualified data set name without quotation marks. No prefix or suffix is added to the name you specify.