GMWI (10-digit signed integer)

Wait interval.

This is the approximate time, expressed in milliseconds, that the MQGET call waits for a suitable message to arrive (that is, a message satisfying the selection criteria specified in the MSGDSC parameter of the MQGET call; see the MDMID field described in MQMD - Message descriptor for more details). If no suitable message has arrived after this time has elapsed, the call completes with CCFAIL and reason code RC2033.

GMWI is used in conjunction with the GMWT option. It is ignored if this option is not specified. If it is specified, GMWI must be greater than or equal to zero, or the following special value:

WIULIM

Unlimited wait interval.

The initial value of this field is 0.