Table of Contents
dbclear - clear the database
dbclear <dbman_host> <yes>
This
program sends a message to
dbman telling it to clear the database. It asks
for confirmation before proceeding.
Argument processing is simpleminded.
The arguments marked required must be supplied.
Arguments marked optional
are not required. However, if an optional argument is used the arguments
preceeding it on the command line must be supplied (even if they are marked
optional).
- dbman_host - optional
- The host where dbman is running.
- yes - optional
- If
this argument is provided the user will not be asked for confirmation.
- DBMAN_HOST
- The value of dbman_host is used if present else DMAN_HOST
is used if present else the program fails.
- 0
- success
- 1
- failure,
i.e. dbman isn’t running or the hostname is wrong.
- 2
- database was cleared.
dbclear
csdev1
$Id: dbclear.8,v 1.2 2004/07/15 13:28:36 kitchen
Exp $
Table of Contents