VMS Help  —  SQLMOD72  Arguments  NULL_TERMINATED_BYTES
    Specifies that text fields from the dictionary are null-
    terminated. The module processor interprets the length field
    in the dictionary as the number of bytes in the string. If n is
    the length in the dictionary, then the number of data bytes is
    n-1  and the length of the string is n bytes.

    In other words, the module processor assumes that the last
    character of the string is for the null terminator. Thus, a field
    that the dictionary lists as 10 characters can hold only a 9-
    character SQL field from the C module language. (Other module
    languages could fit a 10-character SQL field into it.)

    If you do not specify a character interpretation option, NULL
    TERMINATED BYTES is the default.
Close Help