Programming Guide



dm_bin_set_dlength

Sets the length of an occurrence in a binary variable

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

variable
The variable that contains the occurrence to set.

occurrence
The occurrence in variable whose length is to be set.

length
The length to set for occurrence.

Environment

C only

Description

If the application has created a binary variable with DBMS BINARY, this function sets the length of a single occurrence in the binary variable. length can be less than or equal to the variable's declared length. If length is greater than the variable's declared length, the variable's length is used.

See Also

DBMS BINARY, dm_bin_get_dlength