Reorganizing source file member data
You usually do not need to reorganize a source file member if it uses an arrival sequence access path. You must specify several parameters 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
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.
Parent topic:
Managing a source file
Related reference
Reorganize Physical File Member (RGZPFM) command