Previous Topic

Next Topic

Book Contents

Book Index

Examples

Figure 409 Example of Use of AutoEdit for Currency Conversion

Format          Item Price      %%ROUND_               Formatted

Mask            to Format       CURRENCY               Price

------          ----------      --------               ---------

###.##          123.121         NO                     123.12

###.##          123.234         NO                     123.23

###.##          123.645         NO                     123.64

###.##          123.858         NO                     123.85

###.##          123.121         YES                    123.12

###.##          123.234         YES                    123.23

###.##          123.645         YES                    123.65

###.##          123.858         YES                    123.86

%%xxx=value

%%yyy=value

These 3-letter variables specify the currencies to be used for conversions and their conversion rates in terms of the local currency. One or more variables of this type can be specified in the member. The names of these variables are determined by the user and should match the variable names used in applicable Control-M/Analyzer rules. For example, the PROD.LIB.AUTOEDIT(CURRATES) member may contain the following specification:

%%LOCAL_CURRENCY=DLR

%%ROUND_CURRENCY=NO

%%DLR=1       

%%EUR=1.106

%%PND=1.629

%%MRK=0.5618

In this example, the local currency is the US Dollar. At the time of this specification, one US Dollar was equivalent to 1.106 European Union Euro, 1.629 British Pound, and 0.5618 Deutsche Mark.

Parent Topic

Creating Currency Rates AutoEdit Member