Allocating the statistics data set

The name of the statistics data set is determined from the data set name mask that is defined in the selected allocation rule.

If the generated data set name is NULLFILE, no statistics data set is created. If no statistics data set by the same name already exists, the data set is created and added to the operating system catalog. Other user-provided information is available in the allocation rule to assist in the allocation of new statistics data sets.

If the generated statistics data set name already exists, you can specify the action to be taken by using the REPOSITORY_OVERWRITE keyword option. If REPOSITORY_OVERWRITE=NO (the default), the original statistics data set is not overwritten and new statistics are not written for the area. Specifying REPOSITORY_OVERWRITE=YES causes the existing statistics data set to be overwritten with new data.

The sample JCL in following figure shows how to set the REPOSITORY_OVERWRITE keyword through the PFPOPTS DD statement. If the statistics data set already exists for this DBD and area, the previous data is overwritten by the data from this job.

//PFP    EXEC PGM=PFPMAIN,REGION=0M
//STEPLIB  DD DSN=BMC.PFP.LOAD,DISP=SHR
//         DD DSN=IMSVS.RESLIB,DISP=SHR
//PFPOPTS DD *
  OPTIONS
    REPOSITORY_DSNAME='BMC.PFPEPR',
    REPOSITORY_OVERWRITE=YES
//PFPSYSIN DD *
  ANALYZE DBD=dbdname,IAREA=areaname
/*

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments