SMF PGMALL/NOPGMALL Statement

This article describes the PGMALL/NOPGMALL statement, and includes information on the format and specification of the statement, plus tips and hints. 
micsrm140
This article describes the PGMALL/NOPGMALL statement, and includes information on the format and specification of the statement, plus tips and hints. 

PGMALL/NOPGMALL Statement Format

The PGMALL/NOPGMALL statement is optional.
PGMALL (Default)
or
NOPGMALL
MICS
segregates step and interval-record activity into separate files based on address space type. Observations are written to the BATPGM file for batch address space activity. Other address space types (for example, TSO, started tasks, APPC/MVS TPs, Open Edition/MVS UNIX System Services, and system address spaces) are represented at the step and interval-level in the BAT_TS, BAT_ST, and BAT_TP, BAT_OE, and BAT_SA files, respectively.
PGMTYPE identifies the address space type (1= Batch, 2= TSO, 3= STC, 4= APPC/MVS TPs, 5= Open Edition, 6= System Address Space).
By default, if one or more of the program activity files are deactivated (BAT_TS, BAT_ST, BAT_TP, BAT_OE, BAT_SA) in SMFGENIN, observations from the deactivated file are written to the BATPGM file.
The PGMALL option enforces this default.
In contrast, the NOPGMALL statement forces
MICS
to discard records from deactivated step-level files.

Specifying the PGMALL/NOPGMALL Option Statement

Nothing is required to specify PGMALL because it is the default value. To specify a NOPGMALL option statement, follow these steps:
  1. Edit prefix.MICS.PARMS(SMFOPS).
  2. Insert a line as follows:
    NOPGMALL
  3. Execute the job in prefix.MICS.CNTL(SMFPGEN). If the PGMALL/NOPGMALL option statement is coded incorrectly, the job will abend. Correct the problem as explained in the MICSLOG and resubmit. Make sure the job completes with a condition code of zero. If your SMFOPS member does not contain a PGMALL/NOPGMALL option statement, MICSLOG will tell you that the option is missing and that the default (PGMALL) was used.

TIips and Hints

  • Determine if you have address space activity other than batch in your BATPGM file. Execute the following SAS code:
    OPTIONS DATE LINESIZE = 80; PROC FREQ DATA = &BATx..BATPGM01; TABLES PGMTYPE/NOCOL NOROW NOPERCENT; TITLE 'List Program Types in BATPGM'; RUN;
    Examine the SASLIST output generated.
    If there are PGMTYPEs other than 1 in the BATPGM file, you have deactivated one or more non-batch step-level files.
    For example, if you see both PGMTYPEs of 1 (batch) and 6 (System Address Space) in your Detail BATPGM File, you have turned off the BAT_SA (System Address Space) file, but because the option default is PGMALL, the system Address Space activity is written to the BATPGM file.
  • If you decide not to keep System Address Space activity in your
    MICS
    database, you need to do the following:
    1. Turn off BAT_SA file in all timespans in sharedprefix.MICS.GENLIB(SMFGENIN).
    2. Execute sharedprefix.MICS.CNTL(SMFCGEN).
    3. Specify NOPGMALL in prefix.MICS.PARMS(SMFOPS).
    4. Execute prefix.MICS.CNTL(SMFPGEN).