Previous Topic: 4.2.4.3.6.5 Alias Definition (ALIAS)

Next Topic: 4.2.4.3.8 File Sequence Statement (SEQUENCE)

4.2.4.3.7 Data Element Initialization Statement (INITIALIZE)

Some CA MICS data elements need to be initialized with a
value before they can be effectively used.  For example, data
element TRANSCNT needs to be initialized to one to show that
each detail observation represents a single transaction.  At
higher timespans, it contains the sum of TRANSCNT within the
BY group.
 
Initialization is performed prior to output to the work
data sets.
 
STATEMENT FORMAT
 
This keyword is coded with the KEYWORD starting in column 1,
free-form, and continuing through column 72.  Continuation is
not supported.  The following describes the format and
coding rules for the INITIALIZE statement.
 
INITIALIZE   element  SASexpr
    |            |       |
    |            |       |
    |            |       +--- SASExpr - SAS expression
    |            |
    |            +---element - data element name
    |
    +-----Statement identifier
 
STATEMENT OPTION DEFINITIONS
 
INITIALIZE - Specifies the initialization expression for a
             data element.
 
            element - Data element name.  Generic
                      specification is not allowed.
 
            SASexpr - The SAS expression that is used to
                      initialize the data element.  This can
                      be any SAS variable name, constant, or
                      expression.  Only one INITIALIZE
                      statement is allowed per data element.
 
STATEMENT EXAMPLE
 
INITIALIZE INTERVL 1
* SEMI-COLON IS OPTIONAL
INITIALIZE DURATION ENDTS-STARTTS;
$SCOL