MQCFIN - PCF integer parameter
The MQCFIN PCF structure describes an integer parameter in a message that is a command or a response to a command. In either case, the format name in the message descriptor is MQFMT_ADMIN.
The MQCFIN structure can also be used for user-defined message data. In this case the message descriptor Format
field is MQFMT_PCF (see Message descriptor for a PCF command ). Also in this case, not all the fields in the structure are meaningful. The supplied initial values can be used for most fields, but the application must set the Value
field to the value appropriate to the data.
Fields for MQCFIN
- Type (MQLONG)
- Structure type.
This indicates that the structure is an MQCFIN structure describing an integer parameter. The value must be:
- MQCFT_INTEGER
- Structure defining an integer.
- StrucLength (MQLONG)
- Structure length.
This is the length in bytes of the MQCFIN structure. The value must be:
- MQCFIN_STRUC_LENGTH
- Length of command format integer-parameter structure.
- Parameter (MQLONG)
- Parameter identifier.
This identifies the parameter with a value that is contained in the structure. The values that can occur in this field depend on the value of the
Command
field in the MQCFH structure; see MQCFH - PCF header for details.The parameter is from the following groups of parameters:- MQIA_*
- MQIACF_*
- MQIAMO_*
- MQIACH_*
- Value (MQLONG)
- Parameter value.
This is the value of the parameter identified by the
Parameter
field.
C language declaration
typedef struct tagMQCFIN {
MQLONG Type; /* Structure type */
MQLONG StrucLength; /* Structure length */
MQLONG Parameter; /* Parameter identifier */
MQLONG Value; /* Parameter value */
} MQCFIN;
COBOL language declaration
** 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 ( z/OS® only)
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 */
System/390 assembler-language declaration ( z/OS only)
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 ( Windows only)
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
RPG language declaration ( IBM® i only)
D* MQCFIN Structure
D*
D* Structure type
D INTYP 1 4I 0 INZ(3)
D* Structure length
D INLEN 5 8I 0 INZ(16)
D* Parameter identifier
D INPRM 9 12I 0 INZ(0)
D* Parameter value
D INVAL 13 16I 0 INZ(0)
D*