How to run mt950_split_v2

About this task

These steps describe how to run the mt950_split_v2 map.

Procedure

  1. Use the Map Designer to open mt950_split_v2 . It contains these executable maps: v2_mt950_control, v2_mt950_runmap_split, v2_mt950_recalc and v2_mt950_runmap_balance.
    1. v2_mt950_control counts the number of statement lines (t), supplies the default value for n (30), calaculates T and calls v2_mt950_runmap_split.
    2. v2_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
    3. v2_mt950_recalc calls v2_mt950_runmap_balance for each split message in mt950_split.txt
    4. 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.
  2. Build all four maps.
  3. Run the v2_mt950_control map. This will create the intermediate file, mt950_split.txt.
  4. 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

    These files are located in the same folder as this example.