Adding statistics catalog entries
The ADD subcommand lets you create a statistics catalog entry to register a statistics data set in a repository.
This function is useful if you inadvertently ran a job with the wrong repository catalog data set name specified. Use the DSNAME keyword to specify the name of the existing statistics data set.
The ADD subcommand must be specified in the following format:
ADD STATISTICS
The example shown in following figure will register the statistics data set named PFP.PFPDBDA1.STATS into the repository named PFP.PFPEPR2.
//PFP EXEC PGM=PFPEPR00,REGION=0M
//STEPLIB DD DSN=PFP.LOAD,DISP=SHR
// DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPSYSIN DD *
PROCESS_EPR REPOSITORY_DSNAME='PFP.PFPEPR2'
ADD STATISTICS,DSNAME='PFP.PFPDBDA1.STATS'
Related topic
Comments
Log in or register to comment.