Previous Topic: 1.3.16 Menu Modification SpecificationsNext Topic: 2. INSTALLATION


1.3.17 Define Currency Type Money Format


CA MICS provides a MONEY format for writing monetary values
in output reports. The MONEY format displays monetary values
as U.S. dollars.  All data elements defined in the CA MICS
database, such as the xxxCOST fields, use this format.

The MONEY format is in sharedprefix.MICS.SOURCE(MONEY).  To
update the MONEY member, see the sample SAS formats in
sharedprefix.MICS.SOURCE(MONEYSMP).  MONEYSMP contains the
same format as MONEY and also contains a format example that
can easily be adapted to represent various European currency
notations.

Note: Do NOT modify the MONEYSMP member. It receives
maintenance from CA and must therefore remain static.

In addition to the MONEY format, the MONEY member also
contains the MONEYR format, which is used to print rates.
Member MONEYB in sharedprefix.MICS.SOURCE contains the MONEYB
format, which is used to print budget amounts for certain
invoice formats.

The difference between the formats is explained below.

SINGLE-CURRENCY DISPLAY MODE

In single-currency display mode, the invoices use these SAS
formats:

MONEY    Used to display charges and certain other monetary
         amounts. By default, they print in US dollars.

MONEYB   Used to print budget amounts for certain invoice
         formats. Displays no decimal places.  By default,
         they print in US dollars.

MONEYR   Used to print rates. Displays four decimal places.
         By default, they print in US dollars.

MONEYX   Used only in the detail-level reports to print four
         digits to the right of the decimal.

DUAL-CURRENCY DISPLAY MODE

CA MICS provides dual-currency support for euros.  To learn
more about activating euro support and about using the euro
MONEYE formats, see Appendix C.


LOCATION OF THE FORMATS

The formats are located in the following members:

MONEY     sharedprefix.MICS.SOURCE(MONEY)

MONEYR    sharedprefix.MICS.SOURCE(MONEY)

MONEYB    sharedprefix.MICS.SOURCE(MONEYB)

MONEYC    sharedprefix.MICS.SOURCE(MONEYE)

MONEYBC   sharedprefix.MICS.SOURCE(MONEYE)

MONEYX    sharedprefix.MICS.SOURCE(MONEYX)

MONEYRT   sharedprefix.MICS.SOURCE(MONEYRT)

Note: MONEYRT is only for user-defined reports. It allows
them to print six digits to the right of the decimal.


GENERATING THE SAS FORMATS

The MONEY, MONEYX, and MONEYR formats can be generated by
running a prefix.MICS.CNTL(BASPGEN) in any unit.

The MONEYB, MONEYC, and MONEYBC formats can also be generated
by constructing a SAS job with a DD of MCOLIB pointing to
your sharedprefix.MICS.MCOLIB, and with the SYSIN DD pointing
to the appropriate member.

Note: Some tailoring of the formats may be necessary,
especially if your national currency uses more or less than
the two decimal places required for euro-currency display.