You usually do not need to reorganize a source file member if you
use arrival sequence source files. There are some parameters you must specify
to assign unique sequence numbers.
To assign unique sequence numbers to all the records, specify the following
parameters on the Reorganize Physical File Member (RGZPFM) command:
- KEYFILE(*NONE), so that the records are not reorganized
- SRCOPT(*SEQNBR), so that the sequence numbers are changed
- SRCSEQ with a fractional value such as .10 or .01, so that all the sequence
numbers are unique
Note: Deleted records, if they exist, will be compressed out.
A source file with an arrival sequence access path can be reorganized by
sequence number if a logical file for which a keyed sequence access path is
specified is created over the physical file.