How to run the Universal Confirmation CSV example in Design Studio

About this task

This topic describes how to run the Universal Confirmation CSV example in Design Studio.

Procedure

  1. Use the Design Studio to open and build all maps in uc_csv_validation.mms, uc_translation.mms, and validate_messages.mms maps.
  2. Run the map uctrxcsv in uc_translation.mms for MT103 to csv translation.
  3. Run the map uctrx199 in uc_translation.mms for csv to MT199 translation.
    Expected results:
    1. Valid Scenarios:
      In case of successful pre-validation, translation, and post validation, following files appear in the data folder:
      • CSV.csv: For MT103 to csv translation.
      • MT199.out: For csv to MT199 translation.
    2. Invalid Scenarios:
      An error file prevalidation_failed.json file appears in the data folder in following scenarios, but not limited to:
      • Any of the pre-validation executable map *.mmc is not found.
      • Input source file is invalid and not compliant with pre validation rules.
      • The translation executable map is not found, or translation is failed.
      • Unsupported input provided for translation.
      An error file postvalidation_failed.json file appears in the data folder in following scenarios:
      • Any of the post validation executable map *.mmc is not found.
      • The output file is invalid and not compliant with post validation rules.

      If the reference of MT103 does not match with the instruction_reference in the translation configuration file, an error file MT103_config_mismatch.out appears in the data folder.