Mapper procedures and functions

The following sections describe the procedures and functions for the ISF to single transaction mapper.

CopyEntireMessage

This is a standard procedure that is created by the . It copies the entire message tree from the InputRoot to the OutputRoot. For outbound mappers, the message tree contains only properties and MQMD headers, so the entire message tree can be copied from the InputRoot.

CREATE PROCEDURE CopyEntireMessage()
BEGIN
   SET OutputRoot = InputRoot;
END;

ProcessTransaction

This procedure encapsulates the processing of a single transaction.

CREATE PROCEDURE ProcessTransaction()
BEGIN
   -- map the header
   CALL MapTransactionHeader();

   -- map the transaction body
   CALL MapTransaction();
END;