How to run mt950_split_v2
About this task
These steps describe how to run the mt950_split_v2 map.
Procedure
-
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.
- 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.
- 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
- 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.
- 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
These files are located in the same folder as this example.