Initial values and language declarations for MQCHARV


Initial values of fields in MQCHARV

Field name Name of constant Value of constant
VSPtr None Null pointer or null bytes.
VSOffset None 0
VSBufSize MQVS_USE_VSLENGTH 0
VSLength None 0
VSCCSID MQCCSI_APPL -3
Note: In the C programming language, the macro variable MQCHARV_DEFAULT contains the values that are listed in the table. It can be used in the following way to provide initial values for the fields in the structure:
MQCHARV MyVarStr = {MQCHARV_DEFAULT};

Parent topic: MQCHARV - Variable Length String