7. PARAMETERS › 7.2 Complex Level Parameters › 7.2.3 Account Code Exit Routine (WEBACRT)
7.2.3 Account Code Exit Routine (WEBACRT)
This section explains how to code an account code exit for
the CA MICS Web Analyzer. These definitions will be used for
every database unit that contains this analyzer.
After you define WEBACCT for the number of account codes you
want to carry in the WLGSAL file, code the Account Code
Derivation Routine (WEBACRT) in sharedprefix.MICS.PARMS.
WEBACRT is a SAS routine that derives the account code data
elements during the DAY052 step. For example, if you define
three account codes in WEBACCT, then your WEBACRT exit must
contain SAS code to derive the data elements WEBACT1,
WEBACT2, and WEBACT3.
You are responsible for testing the accuracy of the exit
routine. The worksheet for coding the WEBACRT exit is shown
in Figure 7-2.
+--------------------------------------------------------------------------+
| INSTALLATION PREPARATION WORKSHEET: WEB Account Code Routine Definition |
| |
| PARMS Library Member is WEBACRT |
| Reference Sections: 7.2.3 CA MICS WebSphere Analyzer Guide |
+--------------------------------------------------------------------------+
| * VALIDATE ACCOUNT CODES |
| |
| IF { account data is valid } THEN DO; |
| |
| * POPULATE ACCOUNT CODE FIELDS |
| |
| WEBACT1=field source 1 ; |
| WEBACTn=field source n ; |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| END; |
| ELSE DO; |
| |
| * ASSIGN TO OVERHEAD ACCOUNT |
| |
| WEBACT1='overhead category' ; |
| WEBACTn='overhead category' ; |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| ____________________________________________________________________ |
| |
| END; |
+--------------------------------------------------------------------------+
Figure 7-2. WEB Account Code Routine Definition Worksheet