MQDMHO - Delete message handle options

The MQDMHO structure allows applications to specify options that control how message handles are deleted. The structure is an input parameter on the MQDLTMH call.

Character set and encoding

Data in MQDMHO must be in the character set of the application and encoding of the application ( MQENC_NATIVE ).

Fields

Note: In the following table, the fields are grouped by usage rather than alphabetically. The child topics follow the same sequence.
Table 1. Fields in MQDMHO
Field name and description Name of constant Initial value (if any) of constant
StrucId (structure identifier) MQDMHO_STRUC_ID 'DMHO'
Version (structure version number) MQDMHO_VERSION_1 1
Options (options) MQDMHO_NONE 0
Notes:
  1. In the C programming language, the macro variable MQDMHO_DEFAULT contains the values that are listed in the table. It can be used in the following way to provide initial values for the fields in the structure:
    
    MQDMHO MyDMHO = {MQDMHO_DEFAULT};
    

Language declarations

C declaration for MQDMHO


typedef struct tagMQDMHO;
struct tagMQDMHO {
  MQCHAR4   StrucId;         /* Structure identifier */
  MQLONG    Version;         /* Structure version number */
  MQLONG    Options;         /* Options that control the action of MQDLTMH */
};

COBOL declaration for MQDMHO


**   MQDMHO structure
  10 MQDMHO.
**    Structure identifier
   15 MQDMHO-STRUCID       PIC X(4).
**    Structure version number
   15 MQDMHO-VERSION       PIC S9(9) BINARY.
**    Options that control the action of MQDLTMH
   15 MQDMHO-OPTIONS       PIC S9(9) BINARY.

PL/I declaration for MQDMHO


dcl
 1 MQDMHO based,
  3 StrucId        char(4),       /* Structure identifier */
  3 Version        fixed bin(31), /* Structure version number */
  3 Options        fixed bin(31), /* Options that control the action of MQDLTMH */

High Level Assembler declaration for MQDMHO


MQDMHO                DSECT
MQDMHO_STRUCID        DS   CL4   Structure identifier
MQDMHO_VERSION        DS   F     Structure version number
MQDMHO_OPTIONS        DS   F     Options that control the action of
*                                MQDLTMH
MQDMHO_LENGTH         EQU  *-MQDMHO
MQDMHO_AREA           DS   CL(MQDMHO_LENGTH)