5. FILES › 5.4 WLM Information Area Files › 5.4.6 Report Class File (WLM_EA) › 5.4.6.4 Retrieval Examples
5.4.6.4 Retrieval Examples
This section presents a typical WLM_EA 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.
Report Classes
TITLE1 "Report Classes";
PROC SORT NODUPKEY
OUT=WORK._EA
DATA=&PWLMX..WLM_EA01 (KEEP=
SYSPLEX WLMSDFNM WLMSDFTS WLMRPTCL WLMRPTDE);
BY SYSPLEX WLMSDFNM WLMSDFTS WLMRPTCL;
RUN;
PROC PRINT LABEL DATA=WORK._EA;
BY SYSPLEX WLMSDFNM WLMSDFTS;
PAGEBY WLMSDFNM;
VAR WLMRPTCL WLMRPTDE;
RUN;