ReasonName property

Read-only. Returns the symbolic name of the latest reason code. For example, "MQRC_QMGR_NOT_AVAILABLE".

Note:
See Threading for restrictions on the use of MQSession error codes in threaded applications.

Defined in: MQSession class

Data Type: String

Values:

  • See the WebSphere MQ Application Programming Reference

Syntax:
To get: reasonname$ = MQSession.ReasonName