Reorganize source file member data

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

Related reference
Reorganize Physical File Member (RGZPFM) command