Skip to content

Sample JCL To Invoke XML REXX EXEC

The following is an example of JCL used to invoke CMN010. This JCL is included in member

REPORTS in the CMNZMF CNTL library delivered in the ChangeMan ZMF installer. The REXX EXEC, which is included in the CMNZMF REX library, produces the Summary of Planned and Unplanned Packages report:

//REXX       EXEC PGM=IRXJCL,REGION=0M,
//           PARM='CMN010 ABCD 1 USER000 T'   <=== Change Accordingly
//*  ZMF/SERCOMC LOAD LIBRARIES 
//STEPLIB    DD DISP=SHR,DSN=*somnode*.CMNZMF.LOAD
//           DD DISP=SHR,DSN=*somnode*.SERCOMC.LOAD 
//*  REXX LIBRARIES 
//SYSEXEC    DD DISP=SHR,DSN=*somnode*.CMNZMF.REX 
//*  SER\#PARM 
//SER\#PARM  DD DISP=SHR,DSN=*somnode*.SERCOMC.TCPIPORT 
//*  TCP/IP OUTPUT
//SYSPRINT   DD SYSOUT=*
//*  XML REPORT OUTPUT
//SYSTSPRT   DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=133)
//*  XML DIAGNOSTIC TRACE DATA
//SERPRINT   DD SYSOUT=*
//* ABEND OUTPUT
//SYSABEND DD SYSOUT=*

...