Home

 

Optional parameters

Command

name:

"MQPSCommand"   (string constant: MQPS_COMMAND)

value:

The incorrect command that was specified when a command fails with MQRC_RFH_COMMAND_ERROR.

DeleteOptions

name:

"MQPSDelOpts"   (string constant: MQPS_DELETE_OPTIONS)

value:

The incorrect delete options that were specified when a command fails with MQRCCF_DEL_OPTIONS_ERROR.

ErrorId

name:

"MQPSErrorId"   (string constant: MQPS_ERROR_ID)

value:

An additional reason code (decimal value) when a command fails with MQRCCF_Q_MGR_NAME_ERROR, MQRCCF_Q_NAME_ERROR or MQRCCF_NOT_AUTHORIZED. For example, the value might be MQRC_UNKNOWN_ENTITY indicating that the subscriber is not authorized because it is unknown to the broker.

ErrorPos

name:

"MQPSErrorPos"   (string constant: MQPS_ERROR_POS)

value:

A decimal value indicating the position in the NameValueString of the command message sent to the broker at which an error was found. An error at the first character is reported with an error position of zero.

If the first 'MQPS' tag isn'tMQPSCommand, the command fails with an MQRC_RFH_COMMAND_ERROR, and theMQPSErrorPos tag indicates the position of the offending tag.

If no 'MQPS' tags were encountered, the command fails with an MQRC_RFH_COMMAND_ERROR, and theMQPSErrorPos tag is set to the last character in the string.

If an 'MQPS' tag doesn't have a matching value, or a quoted name or value doesn't have a matching end quote, the command fails with an MQRC_RFH_STRING_ERROR, and theMQPSErrorPos tag indicates the position in the string where the error was detected.

ParameterId

name:

"MQPSParmId"   (string constant: MQPS_PARAMETER_ID)

value:

The incorrect parameter that was specified, or the parameter that was missing, when a command fails with MQRC_RFH_PARM_ERROR, MQRC_RFH_DUPLICATE_PARM or MQRC_RFH_PARM_MISSING.

PublicationOptions

name:

"MQPSPubOpts"   (string constant: MQPS_PUBLICATION_OPTIONS)

value:

The incorrect publication options that were specified when a command fails with MQRCCF_PUB_OPTIONS_ERROR.

QMgrName

name:

"MQPSQMgrName"   (string constant: MQPS_Q_MGR_NAME)

value:

The invalid queue manager name that was specified when a command fails with MQRCCF_Q_MGR_NAME_ERROR.

QName

name:

"MQPSQName"   (string constant: MQPS_Q_NAME)

value:

The invalid queue name that was specified when a command fails with MQRCCF_Q_NAME_ERROR.

RegistrationOptions

name:

"MQPSRegOpts"   (string constant: MQPS_REGISTRATION_OPTIONS)

value:

The incorrect registration options that were specified when a command fails with MQRCCF_REG_OPTIONS_ERROR.

StreamName

name:

"MQPSStreamName"   (string constant: MQPS_STREAM_NAME)

value:

The unknown or incorrect stream name that was specified when a command fails with MQRCCF_UNKNOWN_STREAM or MQRCCF_STREAM_ERROR.

Topic

name:

"MQPSTopic"   (string constant: MQPS_TOPIC)

value:

Up to 256 characters of the incorrect topic name that was specified when a command fails with MQRCCF_TOPIC_ERROR.

UserId

name:

"MQPSUserId"   (string constant: MQPS_USER_ID)

value:

The user ID to which the publisher or subscriber is currently assigned when a command fails with MQRCCF_DUPLICATE_IDENTITY.


 

Home