Home

 

Message descriptor for a PCF command

 

The WebSphere MQ message descriptor is fully documented in the WebSphere MQ Application Programming Reference manual.

A PCF command message contains the following fields in the message descriptor:

Report

Any valid value, as required.

MsgType

This must be MQMT_REQUEST to indicate a message requiring a response.

Expiry

Any valid value, as required.

Feedback

Set to MQFB_NONE

Encoding

If you are sending to iSeries, Windows or UNIX systems, set this field to the encoding used for the message data; conversion will be performed if necessary.

CodedCharSetId

If you are sending to iSeries, Windows, or UNIX systems, set this field to the coded character-set identifier used for the message data; conversion will be performed if necessary.

Format

Set to MQFMT_ADMIN.

Priority

Any valid value, as required.

Persistence

Any valid value, as required.

MsgId

The sending application may specify any value, or MQMI_NONE can be specified to request the queue manager to generate a unique message identifier.

CorrelId

The sending application may specify any value, or MQCI_NONE can be specified to indicate no correlation identifier.

ReplyToQ

The name of the queue to receive the response.

ReplyToQMgr

The name of the queue manager for the response (or blank).

Message context fields

These can be set to any valid values, as required. Normally the Put message option MQPMO_DEFAULT_CONTEXT is used to set the message context fields to the default values.

If you are using a version-2 MQMD structure, set the following additional fields:

GroupId

Set to MQGI_NONE

MsgSeqNumber

Set to 1

Offset

Set to 0

MsgFlags

Set to MQMF_NONE

OriginalLength

Set to MQOL_UNDEFINED

 

Parent topic:

PCF command messages


pc10390_


 

Home