How to run map using Design Studio

Run instructions for the MT950 Splitter Map example using Design Studio.

These steps describe how to run the MT950 Splitter Map example.

  1. These steps describe how to run the mt950_split.mms:
    • Using the Map Designer, open mt950_split.mms. It contains two executable maps: mt950_control and split_mt950.

      mt950_control counts the number of statement lines (t), supplies the default value for n (30), calaculates T and calls split_mt950.

      split_mt950 generates the smaller files based on the parameters supplied by the calling map.

    • Build both maps (mt950_control and split_mt950).

    • Run the mt950_control map. Each MT950 file generated by the map is named mt950_StatementNo(from Tag 28C)_SequenceNo_TimeStamp.txt.

    You will find these files in the same folder as this example.

  2. These steps describe how to run the mt950_split_v2:
    • Using the Map Designer, open mt950_split_v2. It contains four executable maps: v2_mt950_control, v2_mt950_runmap_split, v2_mt950_recalc and v2_mt950_runmap_balance.

      v2_mt950_control counts the number of statement lines (t), supplies the default value for n (30), calculates T and calls v2_mt950_runmap_split.

      sv2_mt950_runmap_split generates smaller messages based on the parameters supplied by the calling map. The split messages are all contained in a single file called mt950_split.txt. This is an intermediate file, where the opening and closing balances have not been recalculated. v2_mt950_recalc calls v2_mt950_runmap_balance for each split message in mt950_split.txt.

      v2_mt950_runmap_balance recalculates the opening and closing balance for each split message. The closing balance from one message is carried over into the following message using a work file called ClosingBal.dat.

    • Build all four maps (v2_mt950_control, v2_mt950_runmap_split, v2_mt950_recalc and v2_mt950_runmap_balance).

    • Run the v2_mt950_control map. This will create the intermediate file mt950_split.txt.

    • Run the v2_mt950_recalc map. This will recalculate balances and create a separate file for each split MT950 using the following naming convention:

      mt950_recalc_StatementNo(from Tag 28C)_SequenceNo_TimeStamp.txt You will find these files in the same folder as this example.