One of the powerful features of the CA MICS system is the
multiple timespan organization into which data are
summarized. In each timespan, user-defined account codes are
a part of the file's sort and summarization key.
For the CA MICS Analyzer for CA-IDMS, the IDMS User Activity
File (IDMSUA) and the IDMS Application Unit Counts File
(IDMSAC) support account codes.
Preparing to Define Account Codes
---------------------------------
The IDMS account code structure is designed to ease retrieval
and reporting of data from the IDMS Information Area in the
CA MICS database. You have the flexibility to define this
structure to meet the needs of your data center.
In defining an account code structure, consider the
following:
o How can the data be organized to make them significant for
retrieval and reporting?
o What values of the IDMS account codes, IDMACTn, will be
readily recognized and remembered by CA MICS users?
o How much DASD space will be used by the database as a
result of the account code organization?
At least one record will exist for each unique value of the
account codes in the summarized timespans because the account
codes are part of the file keys.
The structure of the IDMS account codes is specified in the
IDMACCT and IDMACRT members of sharedprefix.MICS.PARMS. The
sample IDMACCT field definitions provided with this component
contain the following key data elements:
1 12 'DC BILLING GROUP'
2 8 'PROGRAM NAME'
3 9 'PROGRAM TYPE'
Each unique DC Billing Group/Program Name/Program Type
combination represents an individual observation.
Defining Account Codes
----------------------
Account codes must be defined before the file macros are
generated by the sharedprefix.MICS.CNTL(IDMCGEN) job. The
purpose of account codes is to allow each data center to
tailor the granularity (level of detail) of files to its
individual needs. The sample IDMS account codes may or may
not bear a resemblance to the financial chart of accounts in
use at your data center. It is important that you retain
sufficient detail in order to display data in whatever
groupings you require.
The parameters you specify in
sharedprefix.MICS.PARMS(IDMACCT) define the number of account
codes. The account code parameters include the length of
each code and the descriptive name that is associated with
each code. Once you have defined these codes, you provide a
routine that assigns them values (the IDMACRT routine in
Section 7.2.3).
The IDMS account codes are named IDMACTn, where n is the
sequential number of the account code. You can define up to
nine levels of account codes (IDMACT1 through IDMACT9). The
sequential number is called the account code level number. A
sample account code structure is delivered with the
component.
Figure 7-1 is a worksheet for collecting the data needed to
define the levels. When you complete the worksheet, use it
to code sharedprefix.MICS.PARMS(IDMACCT). These general
rules apply when coding IDMACCT:
o Code a separate statement for each account code level.
o Blank statements are permitted. Comments are coded by
beginning the statement with an '*'.
o Account levels are provided in order, starting with '1'.
o Up to nine levels are permitted, with no gaps between the
numbers permitted.
o The format of the statement is free-form but positional.
The statement format is one of these:
level length 'descriptive title'
level (optional)mask length 'descriptive title'
The fields on the worksheet are:
LEVEL The level of importance of each account code, with
----- level 1 the most important, and the highest level
number the least important. The levels are defined
sequentially starting with 1. You can define up to
nine levels. This parameter is required.
MASK An optional parameter that can be used to
---- deactivate the account code in specified timespans.
Specifying a timespan mask requires coding
T(......) as the second parameter in a statement,
where each "." represents a file timespan, in the
order of DETAIL, DAYS, WEEKS, MONTHS, YEARS, and
TABLES. For each timespan, specify a Y to indicate
that the account code is active, or an N to
indicate that it is inactive.
If you do not code the mask, it has a default
value of T(YYYYYY).
The following rules apply if you code the mask:
o DETAIL must always be Y. Account codes cannot
be deactivated in this timespan.
o If DAYS is N, then WEEKS, MONTHS, and YEARS must
also be N. If the account code is inactive in
the DAYS timespan, it cannot be active in higher
timespans.
o If MONTHS is N, then YEARS must be N. If the
account code is inactive in the MONTHS timespan,
it cannot be active in the YEARS
timespan.
LENGTH The length of the account code. The length can
------ range from 1 to 30. This parameter is required.
TITLE The title that describes the account code. The
----- length of the title is 1 to 40 characters. The
title is embedded in quotes ('). This is a
required parameter.
+--------------------------------------------------------------------------+ | INSTALLATION PREPARATION WORKSHEET: IDMS Account Code Level Definition | | | | PARMS Library Member is IDMACCT | | Reference Section: 7.2.2 CA MICS Analyzer for CA-IDMS Guide | +--------------------------------------------------------------------------+ | | | ACCOUNT TIME | | CODE LEVEL SPAN LENGTH DESCRIPTIVE TITLE | | (1-9) MASK | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | _ T(______) __ '_________________________________________' | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +--------------------------------------------------------------------------+ | ....5...10...15...20...25...30...35...40...45...50...55...60...65...70.. | +--------------------------------------------------------------------------+
Figure 7-1. IDMS Account Code Level Definition Worksheet
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |