Using the PUT function

The PUT function sends messages to the adapter as output and returns a single text item that is always "none".

For all adapters, the scope of the PUT function is burst. The executable map controls the transaction behavior, commit or roll back, regardless of nested RUN functions.

The following example shows a map rule using a PUT function with messaging adapter commands to specify particular adapter settings:

PUT ("MQSC","-QMN myque -QN best",TEXT(messageobject))

This PUT example places TEXT(messageobject) on the MQSeries® client messaging adapter and returns a single text item of NONE. The Queue Manager Name adapter command (-QMN myque) specifies the myque queue manager. The Queue Name adapter command (-QN best) specifies the best queue.

For more adapter-specific usage information, refer to each adapter-specific documentation.