Previous Topic: Common FilesNext Topic: Specifying Report Parameters


Running the Report

After you have defined all the necessary files, enter the report generator name as a CMS command and supply the report parameters on the command line or after the prompt.

As an example, below is a step by step manually run DS report:

  1. Before you begin, you can enter the following command to be sure there are no LISTING files on your A disk:
    LISTFILE * LISTING A
    

    You should receive the following message:

    DMSLST002E FILE NOT FOUND
    

    If there are LISTING files located on your A disk that you want to save, move them to another disk.

  2. Enter the following command to determine the name of the SMF files to process:
    LISTFILE SMF * A
    

    The response is a list of SMF files, such as the following:

    SMF 91080001 A1

  3. Enter the following CMS FILEDEF command for the SMF files:
    FILEDEF RECL DISK SMF 91080001 A
    
  4. Enter the following FILEDEF command for SYSPRINT to direct the report to disk. Because this command does not specify a file ID, CA ACF2 for z/VM assigns the default file ID to this file:
    FILEDEF SYSPRINT DISK
    
  5. Enter the following command to verify the results of the FILEDEF commands:
    QUERY FILEDEF
    

    The response looks like this:

    REC1DISK SMF 91080001

    SYSPRINT DISK FILE SYSPRINT

  6. Enter the following command to run the DS report. The asterisk indicates the report generator should use all the defaults for the report parameters:
    ACFRPTDS *
    

Below is an example of running the RL report, specifying DETAIL as a report parameter. In this example, the report generator uses the default values for all other report parameters:

acfrptrl detail

Another example of running a report manually is shown below. In this case, the EL report was run. Since no parameters are specified and a FILEDEF command did not define a SYSIN file, the report generator prompts for the parameters. The DETAIL parameter was then entered. In response to the second prompt, a null line was entered, indicating that the report generator should use the defaults for all the other report parameters.

acfrptel
ACFPGM800R Enter ACFRPTEL SYSIN parameters or ENTER to start
EL?
detail
EL?
<null line>
Ready;

Below is an example of how to display the file IDs of the produced reports:

listfile * listing a
ACFRPTDS LISTING  A1
ACFRPTRL LISTING  A1
ACFRPTEL LISTING  A1
Ready;