Previous Topic: 5.2.15.3 BAT_SA Usage Considerations

Next Topic: 5.2.16 Multisystem Enclave Activity File (BATREN)

5.2.15.4 BAT_SA Retrieval Examples


This section presents typical BAT_SA retrieval examples.

1.  Print the CPU time consumed yesterday by all all
    intervals of system address space "CONSOLE" executing on
    system "PROD".

    DATA FILE1;
    SET &pBATX..BAT_SA01;
    IF JOB=  'CONSOLE' ;
    IF SYSID='PROD' ;
    %LET BY = JOB RDRTS ENDTS;
    PROC SORT DATA=FILE1; BY &BY ;
    PROC PRINT;
    VAR SYSID JOB RDRTS ENDTS PGMCPUTM PGMTCBTM PGMSRBTM ;