The ifx_lo_specget_extsz() function

The ifx_lo_specget_extsz() function obtains from an LO-specification structure the allocation extent size of a smart large object.

Syntax

mint ifx_lo_specget_extsz(LO_spec)
   ifx_lo_create_spec_t *LO_spec;
LO_spec
A pointer to the LO-specification structure from which to obtain the extent size.

Usage

The extsz value specifies the size, in bytes, of the allocation extents to be allocated for the smart large object when the database server writes beyond the end of the current extent. This value overrides the estimate that HCL Informix® generates for how large an extent is to be. For more information about the allocation extent, see Disk-storage information in the LO-specification structure.
Important: You must call the ifx_lo_def_create_spec() function to initialize an LO-specification structure before you call ifx_lo_specget_extsz(). You can use the ifx_lo_col_info() function to store storage characteristics that are associated with a particular column in an LO-specification structure.

Return codes

>=0
The function was successful and the return value indicates the extent size.
-1
The function was not successful.