Previous Topic: 4.2.4.3.4 Required Data Element Definition

Next Topic: 4.2.4.3.6 Data Type Definition Statements

4.2.4.3.5 Common Exit Definition Statement (COMMONEXIT)

The COMMONEXIT statement provides a special exit, coded in
SAS, that defines the required data elements (ENDTS, STARTTS,
and ORGSYSID).  This exit is executed after the required data
elements are set (using the MSI ENDTS/STARTTS/ORGSYSID
statements) and before user exit cccSYSID.
 
Do not use a RETURN, STOP, ABORT, or DELETE statement in
COMMONEXIT code.  This will produce unpredictable results
during processing.
 
STATEMENT FORMAT
 
This keyword is coded with the KEYWORD starting in column 1,
free-form, and continuing through column 72.  Continuation is
not supported.  Multiple COMMONEXIT statements can be
specified and will be presented to SAS in the order they
appear in the cccGENIN.  The following describes the format
and coding rules for the COMMONEXIT statement.
 
COMMONEXIT  SAScode
    |          |
    |          |
    |          |
    |          |
    |          +SAScode - SAScode
    |
    +-----Statement identifier

STATEMENT OPTION DEFINITIONS
 
COMMONEXIT- Defines the SAS code for defining the values of
            required MSI variables (ENDTS, STARTTS, ORGSYSID)
 
            SAScode - The remaining lines are used to define
                      SAS code used for the definition of
                      required MSI data elements (ENDTS,
                      STARTTS, and ORGSYSID).  Do not use
                      RETURN, LINK, ABORT, DELETE, or STOP
                      statements in this exit, as it can
                      interfere with normal CA MICS
                      processing.