EUROCICS

    The EURO CICS COBOL Pre-processor
    For ONLINE-Programs

A Product of the EURO*Transformer Toolset

Overview

When introducing the EURO in your company, you might have the need to support your data-entry clerks and call-centers with the ability to provide all money-related data in both currencies (the "old" national currency as well as the EURO currency) for your customers.
This holds true for the time frame preceeding the introduction of the
EURO, as well as the time after the EURO has been already introduced.

Before the BIG BANG, you might want to switch between the LOCAL currency and the EURO online on demand (showing the EURO-values instead of the LOCAL money values).

After the BIG BANG, you might want to switch back from the EURO to your LOCAL currency, if needed.

Re-programming all your ONLINE programs to support this dual mode of currency-values might cost an unreasonable amount of money.

The EUROCICS Pre-Processor has been developed to fill this gap: It parses your COBOL programs and the EXEC CICS ... END-EXEC statements within your program and generates appropriate COBOL code to switch all money-fields from one currency to the other on the fly. A special function key (PF19, for instance) is used to activate and deactivate this feature. The money fields converted to the secondary CURRENCY are shown in a different colour, and DATA ENTRY is specifically disabled to avoid unwanted entry errors.

    Methodology

As you know, each CICS screen is supported by a corresponding COBOL I/O structure (usually stored in a separate COPY-book) which describes the various fields of the screen. All you have to do is to mark the MONEY field names in the prefix area of theCOBOL Code (a Dollar-sign($) in the second column of the COBOL prefix area is used for this purpose).

In the next step you execute EUROCICS with your program-name as a parameter, and the given program is pre-processed in turn. Appropriate COBOL code is inserted at the bottom of your program to toggle between the 2 given currencies.

An EXTERNAL, separately compiled subroutine 'EUROINIV' is used to determine the proper primary and secondary language. Dynamic loading of this subroutine (which is supported by the IBM language environment [LE] compilers now) is used, thereforethe various main programs of your ONLINE-application need NOT to be re-compiled or re-loaded for the transition day.

      Example

      Hier muß ein gutes beispiel her. #

      Da wir bei Donauland den DUALEN mode bereits wieder ausgebaut haben, muß ich ein paar Programme nochmals neu generieren un in unserem Test-System laufen lassen. Mache ich spätestens nächste Woche. Thomas.

       

       

       

       

       

    Advantages

    • The various ONLINE-program modules need NOT to be changed at all
    • Due to the usage of an EXTERNAL subroutine for the actual toggling of primary and secondary currency,
      the system may be easily tested in a test environment without the need to maintain multiple source codes
    • As the screen image is NOT changed, no training of the staff is necessary
    • The solution is intuitive and easily understood
    • After a certain time, the feature may be easily turned off again

    System Environments

    • IBM Platforms CMS, OS/390 as compressed/compiled REXX or
    • Java virtual machine (JVM) for Windows 95 or higher
    • Java virtual machine (JVM) for Unix/Linux platforms
    • COBOL-Compiler
    • CICS Transaction System

 

Other available Products of the EURO*Transformer Tool-sets

    Generalized DATA Dictionary Definition.

EUROFILE

    EURO conversion program generator

    Automatic, table-controlled recognition of "amount"-fields by means of fieldname- and picture parsing.

    EUROCICS

    IBM CICS Screen-Switcher which recalculates on the fly the display-values of either local currency or EURO.

EUROPA

    EURO COBOL Program Analyser


    Licences/contacts
    For any questions or licencing information please contact: office@db-123.com

back to general remarks