MQCFGR - Group parameter

Use this page to view the structure of an MQCFGR parameter and the declarations for the following programming languages: C, COBOL, PL/I, RPG/ILE, S/390 assembler, and Visual Basic

The MQCFGR structure describes a group parameter. Following the links to the declarations is a description of the fields making up the MQCFGR structure:

The MQCFGR structure is a group parameter in which the subsequent parameter structures are grouped together as a single logical unit. The number of subsequent structures that are included is given by ParameterCount. This structure, and the parameter structures it includes, are counted as one structure only in the ParameterCount parameter in the PCF header (MQCFH) and the group parameter (MQCFGR).

    Type

    Description: Indicates that the structure type is MQCFGR describing which parameters are in this group.
    Data type: MQLONG.
    Value:

      MQCFT_GROUP
      Structure defining a group of parameters.

    StrucLength

    Description: Length in bytes of the MQCFGR structure.
    Data type: MQLONG.
    Value:

      MQCFGR_STRUC_LENGTH
      Length of the command format group-parameter structure.

    Parameter

    Description: This identifies the type of group parameter.
    Data type: MQLONG.

    ParameterCount

    Description: The number of parameter structures following the MQCFGR structure that are contained within the group identified by the Parameter field. If the group itself contains one or more groups, each group and its parameters count as one structure only.
    Data type: MQLONG.


C language declaration

typedef struct tagMQCFGR {
  MQLONG  Type;            /* Structure type */
  MQLONG  StrucLength;     /* Structure length */
  MQLONG  Parameter;       /* Parameter identifier */
  MQLONG  ParameterCount;  /* Count of the grouped parameter structures */
 } MQCFGR;


COBOL language declaration

**   MQCFGR structure
  10 MQCFGR.
**    Structure type
   15 MQCFGR-TYPE           PIC S9(9) BINARY.
**    Structure length
   15 MQCFGR-STRUCLENGTH    PIC S9(9) BINARY.
**    Parameter identifier
   15 MQCFGR-PARAMETER      PIC S9(9) BINARY.
**    Count of grouped parameter structures
   15 MQCFGR-PARAMETERCOUNT PIC S9(9) BINARY.


PL/I language declaration ( z/OS and Windows only)

dcl
 1 MQCFGR based,
  3 Type           fixed bin(31), /* Structure type */
  3 StrucLength    fixed bin(31), /* Structure length */
  3 Parameter      fixed bin(31), /* Parameter identifier */
  3 ParameterCount fixed bin(31), /* Count of grouped parameter structures */


RPG/ILE declaration ( IBM i only)

     D*..1....:....2....:....3....:....4....:....5....:....6....:....7..
		D* MQCFGR Structure
     D*
     D* Structure type
     D  GRTYP                  1      4I INZ(20)
     D* Structure length
     D  GRLEN                  5      8I INZ(16)
     D* Parameter identifier
     D  GRPRM                  9     12I INZ(0)
     D* Count of grouped parameter structures
     D  GRCNT                 13     16I INZ(0)
     D*


S/390 assembler-language declaration ( z/OS only)

MQCFGR                         DSECT
MQCFGR_TYPE                    DS   F        Structure type
MQCFGR_STRUCLENGTH             DS   F        Structure length
MQCFGR_PARAMETER               DS   F        Parameter identifier
MQCFGR_PARAMETERCOUNT          DS   F        Count of grouped parameter structures
MQCFGR_LENGTH                  EQU  *-MQCFGR Length of structure
                               ORG  MQCFGR
MQCFGR_AREA                    DS   CL(MQCFGR_LENGTH)


Visual Basic language declaration ( Windows only)

Type MQCFGR
  Type As Long            ' Structure type
  StrucLength As Long     ' Structure length
  Parameter As Long       ' Parameter identifier
  ParameterCount As Long  ' Count of grouped parameter structures
  End Type
Parent topic: Structure data types