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

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

book

Article ID: 26484

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

 

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

 

Environment

 OPS/MVS-Event Management & Automation-for JES2
 

Resolution

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                                     
//*