Previous Topic: 5.4.11.3 Usage Considerations

Next Topic: 5.4.12 Report Class General Execution Delay File (WLM_ED)

5.4.11.4 Retrieval Examples


This section presents a typical WLMSED retrieval example.


In the examples, a SAS macro variable is used to specify the
DDname part of the CA MICS file name. These macro variables
are a standard part of CA MICS and are available for all
files. The macro variable name has the form &diiit, where d
is the database identifier, iii is the information area
name, and t is the timespan.  For the examples, a database
identifier of P is used.  The identifier is installation
dependent, so you should find out what the identifiers are at
your installation.

Service Class Execution Velocity

    TITLE1 "Service Class Execution Velocity";

    DATA WORK.SED1
     (KEEP=SYSPLEX WLMSDFNM WLMSDFTS SYSNAME WLMWRKLD
      WLMCLASS WLMCLSPD WLMPOLCY WLMCLSDE ENDTS SEDEXVEL);
      MERGE
        &PWLMX..WLMSEA01 (IN=SEA)
        &PWLMX..WLMSED01 (IN=SED);
      BY SYSID ENDTS WLMSDFNM WLMSDFTS
        WLMCLASS WLMCLSPD WLMPOLCY;
      IF (SEA & SED) THEN OUTPUT WORK.SED1;
    RUN;

    PROC SORT NODUPKEY OUT=WORK.SED2 DATA=WORK.SED1;
      BY SYSPLEX WLMSDFNM WLMSDFTS SYSNAME ENDTS
        WLMCLASS WLMCLSPD WLMPOLCY;
    RUN;

    PROC PRINT LABEL DATA=WORK.SED2;
      BY SYSPLEX WLMSDFNM;
      ID SYSNAME ENDTS;
      VAR WLMWRKLD WLMCLASS WLMCLSPD WLMPOLCY SEDEXVEL;
    RUN;