How to spin off SYSPRINT for GJTRFCST for forecast to a dataset instead of printing the report?
There are times when one would like to spin off the SYSPRINT to a dataset instead of printing the report using program GJTRFCST.
First you will need to apply APAR #: RO01597
In step FORECAST executing program GJTRFCST you will be able to define the SYSPRINT to a data using DCB LRECL=150 RECFM=FBA. The desired blocksize will be a multiple of 150. To print out the forecast checkpoint, in the JCL you will use the following so will print to a dataset:
Below line
//LIST EXEC GJTRJARC,PARM='LIST,ALL,FORECAST=x'
add the following
//SYSPRINT DD DSN=your.dataset,
// DISP=(NEW,CATLG,DELETE),
// DCB=(LRECL=133,BLKSIZE=1330,RECFM=FB),
// SPACE=(CYL,(50,15),RLSE)