NAME

     hdrstrip - save trace header info from one  data  set  to  a
     second  output  dataset  and  optionally  pass  the original
     dataset unchanged.


SYNOPSIS

     hdrstrip [ -Nntap1 ] [ -Ootap ] [ -O2otap2 ] [  -rsirs  ]  [
     -reire ] [ -nsnstr ] [ -nenetr ] [ -V ] [ -? ]


DESCRIPTION

     hdrstrip  takes  trace  header  information  from  an  input
     dataset and strips the trace headers from it, saving them in
     output dataset 1 (-O).  In  addition,  the  input  data  may
     optionally be written to second output dataset or pipe.

     hdrstrip gets both its data and its parameters from  command
     line   arguments.    These   arguments  specify  the  input,
     output(s), record and trace limititions, and  verbose  prin-
     tout, if desired.

  Command line arguments
     -N ntap
          Enter the input dataset name or file immediately  after
          typing -N unless the input is from a pipe in which case
          the -N entry may be omitted.  This  input  file  should
          include the complete path name if the file resides in a
          different directory.  Example -N/b/vsp/dummy tells  the
          program to look for file 'dummy' in directory '/b/vsp'.

     -O2 otap
          Enter the dataset name of the trace header output file.
          This is the dataset into which trace header information
          only will be saved. The number of samples entry in  the
          line header, "NumSmp", will be set to zero.  If this is
          run inside ikp then this dataset is labelled "3" on the
          process box.

     -O otap
          Enter the output dataset name or file immediately after
          typing  -O.  This output file is not required when pip-
          ing the output to another process.  The output  dataset
          also requires the full path name (see above).

     -w ihdrwd
          Enter the header word to transfer, e.g. header word 119
          (signed  trace distance).  If none is given on the com-
          mand line the entire trace header  from  DSN2  will  be
          transferred to DSN1

     -V   Enter the command line argument '-V' to get  additional
          printout.

     -?   Enter the command line  argument  '-?'  to  get  online
          help.   The program terminates after the help screen is
          printed.


DISCUSSION

     This routine is used to strip off a set of trace headers for
     reinsertion  later  in  the  flow.   It is usually used when
     flipping back and forth between time slice orientation in 3D
     data,  although it gets many other uses.  If you wish to get
     a set of headers only, and not pipe out the dataset, you can
     redirect the output to /dev/null.


BUGS

     unknown


AUTHOR

     Paul Gutowski


COPYRIGHT

     copyright 2001, Amoco Production Company
               All Rights Reserved
          an affiliate of BP America Inc.































Man(1) output converted with man2html