NAME
rnum - do simple renumbering of selected trace header words
SYNOPSIS
rnum [ -Nntap ] [ -Ootap ] [ [ -hwhdrwd(1) ] [ -swsw(1) ] [
-iwiw(1) ] [ -T -R ] [ -hwhdrwd(2) ] [ -swsw(2) ] [ -iwiw(2)
] [ -T -R ] [ -hwhdrwd(N) ] [ -swsw(N) ] [ -iwiw(N) ] [ -T
-R ] ] [ -U ] [ -? ]
DESCRIPTION
rnum takes selected trace header words and renumbers them
based on a starting value and an increment, and whether the
values changes with each record of each trace.
rnum gets parameters from command line arguments which
specify the header words to be changed (up to 100), the
starting value for each word, the increment for each word,
and whether or not the value changes each trace.
Command line arguments
-N ntap
Enter the input data set name or file immediately after
typing -N. 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 'vsp' stored on the 'b' disk.
-O otap
Enter the output data set name or file immediately
after typing -O. This output file is not required when
piping the output to another process. The output data
set also requires the full path name (see above).
-hw hdrwd(i)
Enter the mnemonic of the header word to change. Enter
as many (up to 100) -hw[] entries as necessary. For
each header word entry you must have -sw[] -iw[] and -T
or -R.
-sw sw(i)
Enter the starting value for each header word. Default
= 0 (ignore everything for this header word). For each
header word entry you must have -sw[] -iw[] and -T or
-R.
-iw iw(i)
Enter the increment value for each header word. Default
is to bypass any operations with this word. For each
header word entry you must have -sw[] -iw[] and -T or
-R.
[-T -R ]
Enter the command line argument '-T' to renumber as
traces change within a record or '-R' to renumber all
traces in a record as records change. For each header
word entry you must have -hw[] -sw[] -iw[] and -T or
-R.
-U Enter the command line argument '-U' to do a quick
sequential renumber of RecNum and TrcNum each starting
from 1 and incrementing by 1
-? Enter the command line argument '-?' to get online
help. The program terminates after the help screen is
printed.
EXAMPLE
rnum -Nindata -Oodata -hwRecNum -sw201 -iw10 -R \
-hwTrcNum -sw100 -iw-1 -T
where records will be numbered starting from 201 and incre-
ment by 10 and where traces will be numbered backwards
starting from 100.
AUTHOR
Paul Gutowski, pgutowski@amoco.com
COPYRIGHT
copyright 2001, Amoco Production Company
All Rights Reserved
an affiliate of BP America Inc.
Man(1) output converted with
man2html