Programming Guide



dm_bin_create_occur

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.

Environment

C only

Returns

Description

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 that occurrence must be less than or equal to the number of occurrences specified in the DBMS BINARY statement.

See Also

DBMS BINARY