How to compile a list of OPS/REXX programs from any given library in batch?

Document ID : KB000026484
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

How to compile a list of OPS/REXX programs from any given library in batch?

Answer: 

See below sample JCL to run the OPCMAL OPS/REXX program to compile a list of OPS/REXX programs from a given library. The list of programs and the names of the libraries must be tailor in the prefix.CCLXEXEC(OPCMAL) code.

//JOBNAMET JOB (123200000),CLASS=B,MSGCLASS=X,NOTIFY=TSOIDXX  
//OICOMP       EXEC PGM=IKJEFT01,                  
//                  PARM='OI OPCMAL'      
//STEPLIB      DD   DISP=SHR,DSN=prefix.CCLXLOAD   
//SYSEXEC      DD   DISP=SHR,DSN=prefix.CCLXEXEC            
//SYSPRINT     DD   SYSOUT=*                                  
//SYSTSPRT     DD   SYSOUT=*                                  
//SYSTSIN      DD   DUMMY                                     
//*

Additional Information:

CA OPS/MVS - Use the Precompiled OPS/REXX Programs