The following example shows sample JCL to collect and distribute the report data contained in data set DELIVER.REPORT2.DATA. The data set is distributed as report SALESRPT-R1. The SALESRPT-R1 is defined as a stacked report which allows further breakdown of the report.
//RMORPT2 JOB ACCOUNT,PROGRAMMER,CLASS=A,MSGCLASS=A //REPORT EXEC PGM=RMODSC //STEPLIB DD DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT DD SYSOUT=* //SALESRPT DD DSN=DELIVER.REPORT2.DATA,DISP=SHR //SYSIN DD * NAME DELIVER.SYSTEM1 COLLECT SALESRPT SALESRPT-R1 /*
|
Copyright © 2013 CA.
All rights reserved.
|
|