PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Requesting an AFPSTATS report

PSF for z/OS: User's Guide
S550-0435-04

Requesting an AFPSTATS report

You can request an AFPSTATS report for any PSF print file you own. The AFPSTATS report option is only activated if your system programmer added the appropriate AFPSTATS DD statement to the PSF startup procedure. There are two ways to request an AFPSTATS report:

  • Use the AFPSTATS keyword on the OUTPUT JCL statement (see AFPSTATS). The valid values for AFPSTATS are YES, Y, NO, and N. NO is the default:
    //OUT1 OUTPUT AFPSTATS=YES,...
    //PRINT1   DD SYSOUT=A,OUTPUT=*.OUT1...
    //
  • Use installation Exit 7. The bit XTP7ASAP in the Exit 7 control structure specifies whether an AFPSTATS report is generated. For information about using Exit 7 to request an AFPSTATS report, see PSF for z/OS: Customization.
Note:
Any value you specify for AFPSTATS in the OUTPUT JCL can be overridden by the XTP7ASAP bit in Exit 7. If the value is overridden by Exit 7, message APS7004I is printed in the message data set.

This example shows a job stream that produces a print file and an AFPSTATS report.

//JOB1     JOB    ...
//STEP1    EXEC   PGM=MYAPPL
//OUTMP    OUTPUT AFPSTATS=YES
//MYPRINT  DD     SYSOUT=A,OUTPUT=*.OUTMP
//

The softcopy AFPSTATS report is stored on your system in the AFPSTATS repository and can be viewed or you can format it and print a hardcopy version.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014