Language declarations

This structure is available in the following languages:

C language declaration

typedef struct tagMQCFBS {
  MQLONG  Type;         /* Structure type */
  MQLONG  StrucLength;  /* Structure length */
  MQLONG  Parameter;    /* Parameter identifier */
  MQLONG  StringLength; /* Length of string */
  MQBYTE  String[1];    /* String value - first byte */
  MQLONG  FilterValueLength /* Filtervalue length */
   } MQCFBS;

COBOL language declaration

**   MQCFBS structure
  10 MQCFBS.
**    Structure type
   15 MQCFBS-TYPE        PIC S9(9) BINARY.
**    Structure length
   15 MQCFBS-STRUCLENGTH PIC S9(9) BINARY.
**    Parameter identifier
   15 MQCFBS-PARAMETER   PIC S9(9) BINARY.
**    Length of string
   15 MQCFBS-STRINGLENGTH PIC S9(9) BINARY.

PL/I language declaration (z/OS only)

dcl
 1 MQCFBS based,
  3 Type        fixed bin(31), /* Structure type */
  3 StrucLength fixed bin(31), /* Structure length */
  3 Parameter   fixed bin(31), /* Parameter identifier */
  3 StringLength fixed bin(31)  /* Length of string */ 

System/390(R) assembler-language declaration (z/OS only)

MQCFBS                         DSECT
MQCFBS_TYPE                    DS   F        Structure type
MQCFBS_STRUCLENGTH             DS   F        Structure length
MQCFBS_PARAMETER               DS   F        Parameter identifier
MQCFBS_STRINGLENGTH            DS   F        Length of string
                               ORG  MQCFBS
MQCFBS_AREA                    DS   CL(MQCFBS_LENGTH)

Visual Basic language declaration (Windows only)

Type MQCFBS
  Type As Long         ' Structure type
  StrucLength As Long  ' Structure length
  Parameter As Long    ' Parameter identifier
  StringLength As Long ' Operator identifier
  String as 1          ' String value - first byte
  End Type
 
Global MQCFBS_DEFAULT As MQCFBS

RPG language declaration (iSeries only)

D* MQCFBS Structure
D*
D* Structure type
D  BSTYP                   1      4I 0 INZ(3)
D* Structure length
D  BSLEN                   5      8I 0 INZ(16)
D* Parameter identifier
D  BSPRM                   9     12I 0 INZ(0)
D* Length of string
D  BSSTL                  13     16I 0 INZ(0)
D* String value - first byte
D  BSSRA                  17     16 
D*