z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example of the THRESHLD parameter

z/OS MVS JCL Reference
SA23-1385-00

//STEPA  EXEC   PGM=RPTWRT
//SYSDS3 OUTPUT DEFAULT=YES,THRESHLD=10000
//RPT1   DD     SYSOUT=A,COPIES=10
//RPT2   DD     SYSOUT=A,COPIES=2
//RPT3   DD     SYSOUT=A,COPIES=5

In this example, the report data sets, RPT1, RPT2, and RPT3, are processed in sysout class A. All three DD statements implicitly reference the step-level default OUTPUT JCL statement SYSDS3; therefore, the THRESHLD value specified in the OUTPUT JCL statement applies to the three reports combined. JES3 is to print the following:

 
Copies

Data
Set

Records in
Data Set

Total
Records

 

10

RPT1

1000

10000

 

2

RPT2

2000

4000

 

5

RPT3

500

2500

 

 

Total 16500

 

Because the total exceeds the THRESHLD limit, JES3 divides the sysout data sets into two units of work. RPT1 is printed as one unit, and the other two data sets are printed together as another unit. If the THRESHLD limit had been 20000, all three data sets would have been printed as one unit of work.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014