mcDBcopySetsel — Copy selected datasets
#include <memcom.h> int mcDBcopySetsel(int handle1, const char* pattern, int handle2);
mcDBcopySetsel
copies selected datasets
from the database identified by handle1
to the
database identified by handle2
. If completed
successfully, the function returns 0. Otherwise, a negative value
indicating the MemCom error number is
returned.
handle1
Database handle of database from where sets are to be copied (input).
pattern
String containing pattern of selected sets to be copied (input). To copy all sets of a database, specify "*". Presently only a single set name or * are implemented.
handle2
Database handle of database containing copies of all sets (input).