Programming Guide |
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
.
C only
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. Iflength
is greater than the variable's declared length, the variable's length is used.
DBMS BINARY, dm_bin_get_dlength