alloc_sqlda_noind Function

Allocates a SQLDA with descriptors for numvar variables.

Syntax

struct sqlda * alloc_sqlda_noind( unsigned numvar );

Parameters

Returns

Pointer to a SQLDA if successful and returns the null pointer if there is not enough memory available.

Remarks

Allocates a SQLDA with descriptors for numvar variables. The sqln field of the SQLDA is initialized to numvar. Space is not allocated for indicator variables; the indicator pointers are set to the null pointer. A null pointer is returned if memory cannot be allocated.