mqConditionCode

The system variable VGVar.mqConditionCode contains the completion code from an MQSeries® API call following an add or get next I/O operation for an MQ record. Valid values and their related meanings are as follows:
00
OK
01
WARNING
02
FAILED

You can use VGVar.mqConditionCode in these ways:

The characteristics of VGVar.mqConditionCode are as follows:
Primitive type
NUM
Data length
2
Is value always restored after a converse?
Yes

Example

  add MQRecord;
  if (VGVar.mqConditionCode == 0)
	   // continue
  else
	   exit program;
  end

Related concepts
MQSeries support

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.