4. CUSTOMIZATION › 4.1 Defining Cost Centers › 4.1.4 Modifying Cost Center Values
4.1.4 Modifying Cost Center Values
You must modify the cost routine when you change the contents
of one or more of your cost centers. If you are adding or
deleting a cost center level, or if the length of one or more
of your cost centers is changing, use the checklist in
Section 4.1.2, Modifying the Cost Center Structure.
Use this checklist only if the length or number of your cost
centers does not change. For example, if you want to start
charging for a CA MICS product, you must code SAS statements
to assign data to each of your cost center levels for that
product. If your Cost Center Structure does not change, you
need to modify only your cost routine and you may use this
checklist.
You do not need to run a generation job after changing the
cost routine. The cost routine is dynamically included in
the accounting processing for each CA MICS product.
STEPS TO MODIFY THE COST ROUTINE
__ 1. Create a backup copy of the sharedprefix.MICS.PARMS
member COSTRTE.
__ 2. Suspend operation of CA MICS Accounting and
Chargeback in each database unit in which it is
installed. Mark the Checkpoint File for each unit
"non-updatable" by setting B=900 to B=999 in the
first record of each unit's prefix.MICS.CHECKPT.DATA
file.
__ 3. Select Option 1, Cost Center Definition, on the
Parameter Specifications menu.
Select Option 2, Cost Routine, on the Cost Center
Definition Menu. This places you in ISPF Edit in
sharedprefix.MICS.PARMS(COSTRTE). Modify the SAS
code as required.
__ 4. Test the routine by running a Daily job in a test
database unit or with Interactive SAS.
If you do not have a test unit, you can test the
COSTRTE by coding and executing a SAS program to
invoke it from a batch job or online using the MWF
MSAS facility. For example, to test the cost center
assignments for SMF, you could use the following
routine:
DATA TEST;
ROUTINE = 'DYSMFFMT';
/* ASSIGN ALL VARIABLES REFERENCED FOR SMF HERE */
%INCLUDE SHRPARMS(COSTRTE);
RUN;
PROC PRINT;
RUN;
__ 5. Resume normal processing in each database unit in
which CA MICS Accounting and Chargeback is installed.
Mark the Checkpoint File in each database unit
"updatable" by resetting the B=999 to B=900 in each
unit's prefix.MICS.CHECKPT.DATA file.