Programming Guide



dm_bin_get_dlength

Gets the length of an occurrence in a binary variable

#include <dmuproto.h>
unsigned int dm_bin_get_dlength(char *variable, int occurrence);

variable
The binary variable that contains the occurrence to measure.

occurrence
The occurrence in variable whose length you want to get.

Environment

C only

Returns

Description

If the application has created a binary variable with DBMS BINARY and the occurrence has been allocated, this function returns the length of the contents in the specified occurrence.

See Also

DBMS BINARY, dm_bin_set_dlength