GEXPORT(1)



NAME

     gexport - mdi_ground data export


SYNOPSIS

     gexport [-lname] series_name output_directory


DESCRIPTION

     gexport exports a dataset from the  mdi_ground  database  to
     the given directory.

     gexport is intended to allow a user to get a local  copy  of
     data which is then independent of DSDS.

     gexport is a perl script which creates  an  appropriate  map
     file  and  then executes pe to run the outgest_svc to export
     the data. However a pe query (peq) is first executed to  see
     if the dataset exists and is on-line. Because peq and pe are
     run, a pvm daemon will be started on the host if necessary.

     gexport will not retrieve a dataset if it  is  not  on-line.
     The  ground rule is that only the production user will run a
     lago_svc. Notice that you must quote (") the series_name  if
     you use a series number.


OPTIONS

     -lname
          Overrides the default  lev0  "level:"  of  the  dataset
          name.


EXAMPLES

     csh> gexport apr890 /tmp/jim  dsds_svc  tid=454a3  currently
     running  for db=mdi_ground This is the version of pe without
     the    lago_svc    outgest_svc    tid=454a5    spawned    on
     rumble.Stanford.EDU  Registered  with  dsds_svc  as uid=4326
     rumble.Stanford.EDU outgest_svc sent:
       in=prog:mdi_ground,level:lev0,series:apr890,sel:[]
         rumble.Stanford.EDU outgest_svc complete:
         cp -r  /DSDS2/D2628/apr890/lev0  /tmp/jim/apr890/  Dere-
     gistered with dsds_svc as uid=4326 PE Normal Completion

     csh> gexport -lraw apr960 /tmp/jim The dataset  is  not  on-
     line.  gexport  does  not retrieve data.  Currently only the
     production user can retrieve data.

     csh> gexport  "sertest[1000]"  /tmp/jim  Query  of  database
     failed. No such dataset?


FILES

     Creates a pe map file, map.export, in the cd.  Creates a peq
     query results file in /tmp/peq.<user>.



BUGS

     Currently does not run on fault due to the  lack  of  Oracle
     libraries.


AUTHOR

     Jim Aloise


HISTORY

     1994-10-26     SOI Version 0.9.0