Fetch lvarchar data
An application can fetch data from a database column of
type LVARCHAR into a character (char, string, fixchar, varchar,
or lvarchar) host variable. If the column data does not fit
into the host variable, IBM®
Informix® ESQL/C truncates
the data. To notify the user of the truncation, Informix
ESQL/C performs
the following actions:
- It sets the sqlca.sqlwarn.sqlwarn1 warning flag to W and the SQLSTATE variable to 01004.
- It sets any indicator variable that is associated with the character host variable to the size of the character data in the column.