Fields for MQCHARV
The MQCHARV structure contains the following fields; the fields are described in alphabetical order:
- VSBufSize (MQLONG)
This is the size in bytes of the buffer addressed by the VSPtr or VSOffset field. - VSCCSID (MQLONG)
This is the character set identifier of the variable length string addressed by the VSPtr or VSOffset field. - VSLength (MQLONG)
The length in bytes of the variable length string addressed by the VSPtr or VSOffset field. - VSOffset (MQLONG)
The offset can be positive or negative. We can use either the VSPtr or VSOffset field to specify the variable length string, but not both. The offset in bytes of the variable length string from the start of the MQCHARV, or the structure containing it. - VSPtr (MQPTR)
This is a pointer to the variable length string.
Parent topic: MQCHARV - Variable Length String