Previous Topic: 3.3.5.3 Inquiry Processing ScreenNext Topic: 3.3.5.5 Alternate Input File Screen


3.3.5.4 Data Element Derivation Screen


If you require user-defined data elements, use the Data
Element Derivation Macro Definition screen shown in Figure
3-50 to specify their derivation.


/-------------------------------  SAS Statements  ------------------------------\
|Command ===>                                                  Scroll ===> CSR  |
|                                                                               |
|Inquiry Step:  Data Clustering                                                 |
|                                                                               |
|Line Cmds: I Insert  D Delete  R Repeat  M Move  C Copy                        |
|                                                                               |
|Cmd  SAS Statements for:  Specifying data element derivation                   |
| -   ------------------------------------------------------------------------  |
| _ - %MACRO DRVMAC;                                                            |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _   ________________________________________________________________________  |
| _ - %MEND DRVMAC;                                                             |
|****************************** BOTTOM OF DATA  ********************************|
|                                                                               |
\-------------------------------------------------------------------------------/


 Figure 3-50.  Data Element Derivation Macro Definition Screen


Data Clustering provides a user-exit for defining the
procedures for computing data elements that are not part of
the CA MICS database.  This exit is invoked by coding SAS
statements in the DRVMAC macro.  This macro is bracketed by
the %MACRO and %MEND statements, and field protected from
modification.  The default for the DRVMAC macro is null.

You must code each data element derivation SAS statement in
accordance with the syntax of the SAS Macro Language, as
described in the SAS manuals.