Previous Topic

Next Topic

Book Contents

Book Index

Method of Operation

Control-M/Analyzer reads currency exchange rates to convert monetary values from one currency to another. These exchange rates, that are entered by the user using an external AutoEdit currency rates member, can be updated without changing Control-M/Analyzer rules. The values to be converted can reside in any data set, report, or local variable file that Control-M/Analyzer can access.

The ON COMPARE block or MSUBSTMASK function can be used to convert currency values from one currency to another using the AutoEdit currency rates member. The user can specify SUBSTFROM and SUBSTTO substitution masks for the ON COMPARE block or MSUBSTMASK function. In the SUBSTTO mask, the user can describe a record layout with currency masks for numeric values that usually represent currency amounts in the file or report.

When Control-M/Analyzer matches a numeric value to a validation mask, which is described in Validation Mask, it calculates a local currency value for that item based on the specified currency for the data.

When Control-M/Analyzer receives a format mask, which is described in Format Mask, it converts the source currency value into the required currency using the appropriate AutoEdit currency exchange rate, and formats the target currency value to match the specified mask.

Parent Topic

Euro Support