JCL Coding Considerations
Statistics reports can run either in local mode or under the central version. The JCL to run statistics reports appears in Appendixes A through D for z/OS, z/VSE and z/VM operating systems, respectively. The following considerations apply to coding the JCL for running statistics reports:
Input File JCL Modifications
For the input file, modify the JCL in Appendices A through D, as follows:
//SYS010 DD DSN=user.inputfil,DISP=OLD,UNIT=tape,VOL=SER=nnnnnn
|
user.inputfil |
data set name of the archived system log file or SREPORT 099 output file |
|
tape |
symbolic device name of a disk or tape input file |
|
nnnnnn |
volume serial number of the input file |
// TLBL SYS010,'user.inputfil',,nnnnnn,,f // ASSGN SYS010,X'ttt'
|
user.inputfil |
file-id of the archived system log file or SREPORT 099 output file |
|
nnnnnn |
volume serial number of the input file |
|
f |
file number of the input file |
|
ttt |
device assignment (channel and unit) for tape files (files may be disk instead of tape, in which case a device assignment, DLBL and EXTENT information are also required) |
For tape files: FILEDEF SYS010 TAP1 SL VOLID nnnnnn
(RECFM VB LRECL 280 BLKSIZE bbbb
For disk files: FILEDEF SYS010 DISK input file a
(RECFM VB LRECL 280 BLKSIZE bbbb
|
nnnnnn |
volume serial number of the archived system log file |
|
bbbb |
block size of the input file |
|
input file a |
filename, filetype, filemode of archived system log file |
FILEDEF SYS010 DISK input file a
(RECFM FB LRECL 280 BLKSIZE 8120
|
input file a |
filename, filetype, filemode of archived system log file |
SREPORT 099 Output File JCL Modifications
To create a file of statistics records using SREPORT 099, modify the JCL in Appendices A through D, as follows:
//SYS020 DD DSN=user.nonprint,DISP=(NEW,CATLG),
SPACE=(TRK,(10,10)),UNIT=tape,VOL=SER=nnnnnn
DCB=(DSORG=PS,RECFM=FB,LRECL=280,BLSIZE=8120)
|
user.nonprint |
data set name for nonprint output |
|
tape |
symbolic device name of the nonprint output file |
|
nnnnnn |
volume serial number of the nonprint output file |
// ASSGN SYS020,X'ttt' // TLBL SYS020,'user.nonprint',15
|
ttt |
device assignment (channel and unit) for tape files (files may be disk instead of tape, in which case a device assignment, DLBL, and EXTENT information are also required.) |
|
user.nonprint,15 |
file-id and retention period for nonprint/nonpunch output |
FILEDEF SYS020 nonprint file a (RECFM FB LRECL 280 BLKSIZE 8120
|
nonprint file a |
filename, filetype, filemode of nonprint output |
|
Copyright © 2013 CA.
All rights reserved.
|
|