IBM Sterling B2B Integrator Generic Envelope service MX example

The Generic Envelope service MX example demonstrates how to transform a proprietary customer credit transfer positional (flat) file into an XML SWIFT MX pacs.008.nnn.nn document.

The positional file follows a 'tag value' format, and terminates with a newLine. Each tag and value is separated by a colon ':', example MsgId:XXXX123456789. Each record starts with a tag MsgId and ends with a tag CdtrTwnNm. Each data element within a record was designed to match corresponding SWIFT MX pacs.008.nnn.nn element fields.

The example file consists of three customer credit transfer records. The Generic Envelope service MX example files install into the following directory: install_dir/packs/financial_payments_vnnn/swift/mx/examples/sterling/services/generic_envelope. The source for this type of map is the credit_transfer_to_mx_pacs8 , and the map is called cstmr_cdttrf_to_pacs812.
  • Input 1 (cstmrCrdtTrfFlat) – This card is used to represent the credit transfer positional data file.
  • Output 1 (pacs_008_nnn_nn) – This card retrieves all data elements that match corresponding SWIFT MX tag fields that makes up a pacs.008.nnn.nn document.
The resulting message from the translation map is limited to the SWIFT MX pacs.008.nnn.nn document payload and does not include envelopes. The envelopes, for example, SWIFT Alliance Access Protocol Data Units (PDUs) and DataPDUs are populated as part of the Generic Envelope service.