5. FILES › 5.3 SCP Information Area Files › 5.3.5 Trace Activity File (SCPTRC) › 5.3.5.4 Retrieval Examples
5.3.5.4 Retrieval Examples
This section presents a typical SCPSWP 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.
1. Print trace values for field RCVASMQA.
DATA;
SET &PSCPX..SCPTRC01;
IF TRCNAME EQ 'RCVASMQA';
PROC PRINT;
VAR STARTTS ENDTS CYCLETM
TRCNAME TRCTYPE TRCSETNO TRCRSMP
TRCENDVA TRCMN TRCMX TRCAV;
TITLE 'TRACE VALUES FOR FIELD RCVASMQA';