CHGPFR - Change access paths of all logical views over a physical from one command
This command is used to affect the access path attributes of all Logical files over a specified Physical file.
This is particularly useful when performing a full data rebuild of a physical file with many logical files: If all access paths are left at *IMMED, the AS/400 will automatically spend time updating the logical file access paths for EVERY RECORD written to the file. If you are reloading a large file this can be a noticeable overhead.
The command can be used to switch all Logical files to *REBLD before the data is loaded, and switched back to *IMMED (or *DLY) after completion.
For example, when the file is returned to *IMMED after reloading all the data. The AS/400 will then recreate the logical file access paths - saving a lot of unnecessary machine work.








Recent comments