MQXWD - Exit wait descriptor

The MQXWD structure is an input/output parameter on the  MQXWAIT  call.

This structure is supported only on z/OS.

Fields

StrucId (MQCHAR4)

Structure identifier.

The value must be:

MQXWD_STRUC_ID
Identifier for exit wait descriptor structure.

For the C programming language, the constant MQXWD_STRUC_ID_ARRAY is also defined; this has the same value as MQXWD_STRUC_ID, but is an array of characters instead of a string.

The initial value of this field is MQXWD_STRUC_ID.

Version (MQLONG)

Structure version number.

The value must be:

MQXWD_VERSION_1
Version number for exit wait descriptor structure.

The initial value of this field is MQXWD_VERSION_1.

Reserved1 (MQLONG)

Reserved.

This is a reserved field; its value must be zero.

This is an input field.

Reserved2 (MQLONG)

Reserved.

This is a reserved field; its value must be zero.

This is an input field.

Reserved3 (MQLONG)

Reserved.

This is a reserved field; its value must be zero.

This is an input field.

ECB (MQLONG)

Event control block to wait on.

This is the event control block (ECB) to wait on. It should be set to zero before the  MQXWAIT  call is issued; on successful completion it will contain the post code.

This is an input/output field.

C declaration

typedef struct tagMQXWD MQXWD;
struct tagMQXWD {
  MQCHAR4  StrucId;    /* Structure identifier */
  MQLONG   Version;    /* Structure version number */
  MQLONG   Reserved1;  /* Reserved */
  MQLONG   Reserved2;  /* Reserved */
  MQLONG   Reserved3;  /* Reserved */
  MQLONG   ECB;        /* Event control block to wait on */
};

System/390 assembler declaration

MQXWD            DSECT
MQXWD_STRUCID    DS   CL4  Structure identifier
MQXWD_VERSION    DS   F    Structure version number
MQXWD_RESERVED1  DS   F    Reserved
MQXWD_RESERVED2  DS   F    Reserved
MQXWD_RESERVED3  DS   F    Reserved
MQXWD_ECB        DS   F    Event control block to wait on
*
MQXWD_LENGTH     EQU  *-MQXWD
                 ORG  MQXWD
MQXWD_AREA       DS   CL(MQXWD_LENGTH)


© IBM Corporation 2002. All Rights Reserved