4. Operation › 4.5 Integrating CA MICS Data to NSM › 4.5.2 Integration with NSM Performance Trend › 4.5.2.4 User Exits
4.5.2.4 User Exits
User exits can be defined in
sharedprefix.MICS.SOURCE(BASUCPXT). The user exits must be
written in SAS macro language. The following SAS macro
variables and macros are available for providing
site-specific definitions:
o %LET ALUNIT = ________;
==> Macro variable ALUNIT defines the unit name for
Performance Trend data set allocation. Default is
SYSDA.
o %LET SPACE = (unit,(primary,secondary,directory));
==> Macro variable SPACE defines the space allocation to
use for the Performance Trend CSV data sets.
Default is (TRK,(5,5,5)). Note that a CSV data set
must be a partitioned data set (PDS).
o %LET IDXSPACE = (unit,(primary,secondary));
==> Macro variable IDXSPACE defines the space allocation
to use for the Performance Trend index data set.
Default is (TRK,(5,5)). Note that the index data set
must be a sequential data set.
o %LET DASDUNIT = ________;
==> Macro variable DASDUNIT defines the unit name for work
data sets. If not specified, the SAS system default
is used.
o %LET DASDSPACE = (unit,(primary,secondary,directory));
==> Macro variable DASDSPACE defines the space allocation
to be used for work data sets. If not specified, the
SAS system default is used.
o %LET TRACE = ________;
==> Macro variable TRACE triggers debugging option. Valid
values are ON, OFF. Default is OFF.
o %LET UCPREFIX = ______________________;
==> Macro variable UCPREFIX overrides the default prefix
of Performance Trend data set names. Default is
sharedprefix.MICS.TNGPT.
o %LET CREATCC = ________;
==> Macro variable CREATCC controls creation of the
Enterprise CSVs (STmmddCC members). Valid values are
YES and NO. The default is YES.
o %SELECT Macro
==> The SAS macro, %SELECT, can be used to subset
the input data at run time. For example,
%MACRO SELECT;
%IF .&INQINAME EQ .RMFTD1 %THEN %DO;
IF SYSID EQ 'S008' OR SYSID EQ 'S002';
%END;
%ELSE %IF .&INQINAME EQ .RMFTD2 %THEN %DO;
IF SYSID EQ 'A192';
%END;
%MEND SELECT;
In this example, only data from system S008 and S002
will be processed by Performance Trend Inquiry RMFTD1,
and only data from system A192 will be processed by
Inquiry RMFTD2.