[MQ 9.2.4 Nov 2021]

MQBNO - Balancing options

The following table summarizes the fields in the structure.

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 MQBNO
Field name and description Name of constant Initial value (if any) of constant
StrucId (structure identifier) MQBNO_STRUC_ID 'BNO¬'
Version (structure version number) MQBNO_VERSION_1 1
ApplicationType (type of balancing option set in the structure) MQBNO_VALTYPE_SIMPLE 0
Timeout (timeout after which re-balancing might interrupt application activity) MQBNO_TIMEOUT_AS_DEFAULT 0
BalanceOptions (balancing options set by the issuing application) MQBNO_OPTIONS_NONE 0
Notes:
  1. The symbol ¬ represents a single blank character.
  2. In the C programming language, the macro variable MQBNO_DEFAULT contains the values that are listed in the table. Use it in the following way to provide initial values for the fields in the structure:
    
    MQBNO MyBNO = {MQBNO_DEFAULT};
    

Language declarations

C declaration for MQBNO


typedef struct tagMQBNO MQBNO;
struct tagMQBNO {
  MQCHAR4    StrucId;           /* Structure identifier */
  MQLONG     Version;           /* Structure version number */
  MQLONG     Type;              /* Type of balancing options set in the
                                   structure */
  MQLONG     Timeout;           /* Timeout after which re-balancing might  
                                   interrupt application activity */
  MQLONG     BalanceOptions;    /* Balancing options set by the issuing 
                                   application */  
};

COBOL declaration for MQBNO


**   MQBNO structure
  10 MQBNO.
**    Structure identifier
   15 MQBNO-STRUCID          PIC X(4).
**    Structure version number
   15 MQBNO-VERSION          PIC S9(9) BINARY.
**    Type of balancing options set in the structure
   15 MQBNO-TYPE             PIC S9(9) BINARY.
**    Timeout after which re-balancing might interrupt application activity
   15 MQBNO-TIMEOUT          PIC S9(9) BINARY.
**    Balancing options set by the issuing application
   15 MQBNO-BALANCEOPTIONS          PIC S9(9) BINARY.

PL/I declaration for MQBNO


dcl
 1 MQBNO based,
  3 StrucId          char(4),       /* Structure identifier */
  3 Version          fixed bin(31), /* Structure version number */
  3 Type             fixed bin(31), /* Type of balancing options set in the
                                       structure*/
  3 Timeout          fixed bin(31), /* Timeout after which re-balancing might  
                                       interrupt application activity */
  3 BalanceOptions   fixed bin(31), /* Balancing options set by the issuing 
                                       application*/