MQCFIN - Integer parameter


The MQCFIN structure describes an integer parameter in an event message.

Type

Description: Indicates that the structure type is MQCFIN and describes an integer parameter.
Datatype: MQLONG.
Initial value: MQCFT_INTEGER.
Valid value:

MQCFT_INTEGER
Structure defining an integer.

StrucLength

Description: Length in bytes of the MQCFIN structure.
Datatype: MQLONG.
Initial value: MQCFIN_STRUC_LENGTH.
Valid value:

MQCFIN_STRUC_LENGTH
Length of MQCFIN structure.

Parameter

Description: Identifies the parameter whose value is contained in the structure.
Datatype: MQLONG.
Initial value: 0.
Valid values: Dependent on the event message.

Value

Description: Value of parameter identified by the Parameter field.
Datatype: MQLONG.
Initial value: 0.

 

C language declaration (MQCFIN)

typedef struct tagMQCFIN {
  MQLONG  Type;         /* Structure type */
  MQLONG  StrucLength;  /* Structure length */
  MQLONG  Parameter;    /* Parameter identifier */
  MQLONG  Value;        /* Parameter value */
 } MQCFIN;

 

COBOL language declaration (MQCFIN)

**   MQCFIN structure
  10 MQCFIN.
**    Structure type
   15 MQCFIN-TYPE        PIC S9(9) BINARY.
**    Structure length
   15 MQCFIN-STRUCLENGTH PIC S9(9) BINARY.
**    Parameter identifier
   15 MQCFIN-PARAMETER   PIC S9(9) BINARY.
**    Parameter value
   15 MQCFIN-VALUE       PIC S9(9) BINARY.

 

PL/I language declaration (MQCFIN)

dcl
 1 MQCFIN based,
  3 Type        fixed bin(31), /* Structure type */
  3 StrucLength fixed bin(31), /* Structure length */
  3 Parameter   fixed bin(31), /* Parameter identifier */
  3 Value       fixed bin(31); /* Parameter value */

 

RPG/ILE declaration (MQCFIN) (OS/400 only)

     D*..1....:....2....:....3....:....4....:....5....:....6....:....7..
     D* MQCFIN Structure
     D*
     D* Structure type
     D  INTYP                  1      4I 0
     D* Structure length
     D  INLEN                  5      8I 0
     D* Parameter identifier
     D  INPRM                  9     12I 0
     D* Parameter value
     D  INVAL                 13     16I 0

 

System/390 assembler-language declaration (MQCFIN)

MQCFIN                         DSECT
MQCFIN_TYPE                    DS   F        Structure type
MQCFIN_STRUCLENGTH             DS   F        Structure length
MQCFIN_PARAMETER               DS   F        Parameter identifier
MQCFIN_VALUE                   DS   F        Parameter value
MQCFIN_LENGTH                  EQU  *-MQCFIN Length of structure
                               ORG  MQCFIN
MQCFIN_AREA                    DS   CL(MQCFIN_LENGTH)

 

Visual Basic language declaration (MQCFIN)

Type MQCFIN
  Type As Long         ' Structure type
  StrucLength As Long  ' Structure length
  Parameter As Long    ' Parameter identifier
  Value As Long        ' Parameter value
End Type
 
Global MQCFIN_DEFAULT As MQCFIN