An inbound LONG BINARY host variable (a host variable used by IQ) is limited to a length of 32767 (32K-1) bytes and is handled by IQ as VARBINARY data. An error is raised, if the inbound host variable length is greater than 32767 bytes.
An outbound LONG BINARY host variable (a host variable set by IQ) has a maximum length of 2GB.