Programming Guide |
Gets or allocates an occurrence in a binary variable
#include <dmuproto.h>char *dm_bin_create_occur(char *variable, int occurrence);
variable
- The binary variable that contains the occurrence to get.
occurrence
- The occurrence in
variable
to get.
C only
- · 0: The variable is not found or the occurrence number is not valid.
dm_bin_create_occur
gets the specified occurrence from the variable if the application has created a binary variable with DBMS BINARY. If the occurrence has not been allocated, this function will allocate it. Note thatoccurrence
must be less than or equal to the number of occurrences specified in theDBMS BINARY
statement.