MEXPORT(1)
NAME
mexport - mdi data export
SYNOPSIS
mexport [-A|a] [-Odbname] "dataset_name" output_directory
DESCRIPTION
mexport exports a dataset from the given mdi database to the
given directory.
mexport is intended to allow a user to get a local copy of
data which is then independent of DSDS.
mexport determines if the given dataset is on-line. If so,
it copies its working directory recursively to the given
output directory. However, no extra top level dir is created
as when you do a "cp -r" copy. If the level number is not
specified it will get the latest level number. Because peq
is run, a pvm daemon will be started on the host if neces-
sary.
mexport will automatically retrieve a dataset if it is not
on-line, provided the [-A] is specified and the master
ampex_svc is active. If [-a] is used instead, then the
retrieve will be aborted if the tape is on-shelf and an
operator is not present.
Notice that you must quote (") the dataset_name if it con-
tains "[]".
Note: The -L (local dsds_svc) switch is also available for
developers only with a password.
OPTIONS
-A Access the ampex_svc if need to retrieve data. This
must be given if the data is not on-line.
-a Like -A but abort if tape is on-shelf and no operator
is present.
-Odbname
The name of the Oracle database to query (default is
mdi_1).
EXAMPLES
csh> mexport "prog:mdi,level:raw[6],series:sci160k[22]"
/scr2/jim/tmp dsds_svc tid=4652e currently running for
db=mdi_1 Registered with dsds_svc as uid=10390 Recursive
copy of /PDS0/D10339/raw/sci160k/22 to /scr2/jim/tmp Dere-
gistered with dsds_svc as uid=10390 mexport Normal Comple-
tion
FILES
None
BUGS
AUTHOR
Jim Aloise
HISTORY
1995-04-21 SOI Version 1.0.0