Previous Topic: 5.4.4.3 Usage Considerations

Next Topic: 5.4.5 Service Class File (WLMSEA)

5.4.4.4 Retrieval Examples


This section presents a typical WLMSDS 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 Subsystem Delays

    TITLE1 "Service Class Subsystem Delays";

    DATA WORK.SDS1
     (KEEP=SYSPLEX WLMSDFNM WLMSDFTS SYSNAME
      WLMCLASS WLMPOLCY WLMCLSDE ENDTS
      SDSSUBNM SDSPHASE SDSPCACT SDSPCRDY SDSPCIDL
      SDSPCSSL SDSPCSSS SDSPCSSN);
      MERGE
        &PWLMX..WLMSEA01 (IN=SEA)
        &PWLMX..WLMSDS01 (IN=SDS);
      BY SYSID ENDTS WLMSDFNM WLMSDFTS WLMCLASS WLMPOLCY;
      IF (SEA & SDS) THEN OUTPUT WORK.SDS1;
    RUN;

    PROC SORT NODUPKEY OUT=WORK.SDS2 DATA=WORK.SDS1;
      BY SYSPLEX WLMSDFNM WLMSDFTS SYSNAME ENDTS
        WLMCLASS WLMPOLCY SDSSUBNM SDSPHASE;
    RUN;

    PROC PRINT LABEL DATA=WORK.SDS2;
      BY SYSPLEX WLMSDFNM;
      ID SYSNAME ENDTS;
      VAR WLMCLASS WLMPOLCY
        SDSSUBNM SDSPHASE SDSPCACT SDSPCRDY
        SDSPCIDL SDSPCSSL SDSPCSSS SDSPCSSN;
    RUN;