NAME

     resortm - resort disk to disk between records & traces  with
     user memory control


SYNOPSIS

     resortm [ -Nntap ] [ -Ootap ] [ -nsnstr  ]  [  -nenetr  ]  [
     -nmnetm  ]  [ -rsnrst ] [ -renred ] [ -rmnrem ] [ -lblbl ] [
     -V ] [ -? ]


DESCRIPTION

     resortm will exchange sequential records  and  traces  (i.e.
     output  all the trace 1s followed by all the trace 2s, etc).
     It does not require a presort table but CANNOT be piped into
     or out of.

     resortm gets both its data and its parameters  from  command
     line  arguments.  These arguments specify the input, output,
     the start and end traces, and verbose printout, if desired.

  Command line arguments
     -N ntap
          Enter the input data set name or file immediately after
          typing -N. Piping the input is not allowed.  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'.

     -O otap
          Enter the output data  set  name  or  file  immediately
          after typing -O.  Piping of output is not allowed.

     -ns nstr
          Enter the start trace number.  The default is the first
          trace of the record.

     -ne netr
          Enter the end trace number. The  default  is  the  last
          trace of the record.

     -nm netm
          Enter end number of traces/record in  memory.   Default
          value is 1.

     -rs nrst
          Enter start record number.  Default value is the  first
          record.

     -re nred
          Enter end record number.  Default value is last record.


     -rm nrem
          Enter end number of records in memory.   Default  value
          is 1.

     -lb lbl
          Enter end input/output trace blocking length.   Default
          value  is  one  (1).   The module grabs lbl traces from
          record 1, lbl from record 2, etc.
          Exercise caution when using this option. This parameter
          affects  the output number of records and traces/record
          !!

     -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.


BUGS/WARNINGS

     The program will fail if not  enough  memory  is  available.
     There  may  be  an  additional  charge  for  memory  on some
     machines.  Performance is highly dependent on the amount  of
     memory requested.


SEE ALSO

     sisort(1) memsrt(1) presort(1) resorter(1)


AUTHOR

     Chester Jacewitz (APR:3192) based on resorter.


COPYRIGHT

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


















Man(1) output converted with man2html