VARBINARY SQL Type

Note: OpenESQL and DB2 ECM only

Syntax

SQL [TYPE] [IS] VARBINARY(n)

Example

01 hv-name SQL TYPE IS VARBINARY(2000).

generates

01 hv-name.
    49 hv-name-len  PIC S9(4) COMP-5.
    49 hv-name-val  PIC X(2000).
    49 hv-name-text REDEFINES hv-name-val  PIC X(2000).