mcDBprintSet — Print dataset
#include <stdio.h> #include <memcom.h> int mcDBprintSet(int handle, const char* name, FILE* out);
mcDBprintSet
prints the contents of the
dataset identified by handle
and
name
to the stream out
. If
completed successfully, the function returns 0. Otherwise, a
negative value indicating the MemCom
error number is returned.
Note: In the current version of
mcDBprintSet
all data elements are
printed.
handle
Database handle (input).
name
Name of dataset to be printed (input). The dataset
name may contain shell wild card pattern matching
characters, the pattern matching mechanism being the same as
the one found in the UNIX Bourne
shell. If all datasets are to be printed, set
pattern
to "*"
.
out
Output stream (input). If set to NULL,
stdout
will be selected.