PEQMV(1)



NAME

     peqmv - pe query move


SYNOPSIS

     peqmv  [-Hhost]  [-Oname]  [-L]   [-d]   [-e]   [-t#]   [-f]
     dataset_name


DESCRIPTION

     peqmv moves the given datasets to the local /PDS storage  on
     the  given  host. Any of the needed ds currently online will
     be moved and any ds offline will  be  retrieved  from  tape.
     NOTE: Cannot move a ds that is ARCHIVE PENDING or PERMANENT.

     The dataset_name must be in quotes if any "[]" are  used.  A
     series number range may be given.

     peqmv is run as a PVM (Parallel Virtual Machine) task. A pvm
     daemon will be started on the host if needed.



OPTIONS

     -Hhostname
          Hostname is an  optional  name  to  assign  local  /PDS
          storage  from.  If not specified, will use the env vrbl
          PDS_SET_HOST, else will use sonar if the peqmv is  exe-
          cuting on sonar, else tarax.

     -Oname
          The Oracle db to query instead of the default mdi_2 db.

     -L   The local flag. Run local dsds_svc/ampex_svc. Don't use
          pe_rpc. This is for development use only and requires a
          password.

     -d   The debug flag. Runs the dsds_svc in debug mode with  a
          dbx window.

     -e   Force the mv even if ds already on the requested host.

     -t#  (touch) #of days to retain datasets  before  deletable.
          (default 2 days)

     -f   the dataset_name is  a  file  name  containing  dataset
          names. For example:

          #file of dataset names for input to peqmv with  the  -f
          #each      line     can     be     a     datacollection
          prog:mdi,level:lev0,series:42474800_01h[32393-32394]
          prog:mdi,level:lev0,series:42474800_01h[32395]
          prog:mdi,level:lev0,series:42474800_01h[32396]
          prog:mdi,level:lev0,series:42474800_01h[32658]
          prog:mdi,level:lev0,series:42474800_01h[32659]
          prog:mdi,level:lev0,series:42474800_01h[32660];prog:mdi,level:lev0,series:42474800_01h[32661]
          prog:mdi,level:lev0,series:42474800_01h[32662]


EXAMPLES

     csh>peqmv "prog:mdi,level:raw,series:sci5k[1122]"
     dsds_svc currently running for db=mdi_2
     Registered with dsds_svc as uid=159650
     Deregistered with dsds_svc as uid=159650
     Now executing: rcp -rp /PDS1/D2275121/* sonar:/PDS80/D2275122
     in_0: Success mv to /PDS80/D2275122
     peqmv Normal Completion
     csh>

     Notice that the dataset name must be quoted because of the imbeded [].


FILES

     none


BUGS


AUTHOR

     Jim Aloise


HISTORY

     2000-03-13     SOI Version 4.5.0