
Command: dadOpenPipe
Opens a DAD pipe connection.
dadOpenPipe name pipename split dataflow [keytable] [-rwgkn]
- The string name defines the name for the PinK object you
want to create.
- The pipename can point to a named pipe on the
local filesystem which shall be opened for reading/writing.
You can also use dadOpenPipe to start child processes
connected via unnamed pipes. See the
Dad manual entry for details.
- If split is a number greater than 1 (i.e. the user wants to
split the pipe), the pipename must contain a substring '%d'
where the Dad library will insert the number of the current split
branch.
- The next argument dataflow gives the ADAMO name of the
dataflow you want to access. If you open the connection in multi
mode, supply an empty string as dataflow name.
- The keytable may contain the name of the keytable if
the -k flag is specified.
- The flags specify the operation mode for the database
access. You may use
- -r for reading information from the server,
- -w for writing information to the server,
- -g if the Adamo tables should be generated while
connecting to the server,
- -k for access to the keytable,
- -m open connection in multi mode,
- -n if a writing operation would block the method
dadWrite will return an aEwouldblock error and
skip the record.
See also:
Previous
Up
Next
This page is maintained by
pink@hermes.desy.de;
last modification: Oct 23 1996 .