SORT control statement
Specifies whether to run the physical sequential sort processing before loading. This specification is valid only for HDAM and PHDAM databases.
The HDAM or PHDAM unloaded data must be in the order of hexadecimal value bbbbbbrr that represents the result of randomizing module conversion. bbbbbb is the block number and rr is the RAP number. If it is not in that order due to such reasons as changing randomizer, you must specify SORT=YES or SORT=COND.
This control statement is optional. If you do not specify this control statement, SORT=NO is used.
- NO
- Does not run the sort process.
- YES
- Runs physical sequential sorting before the reload process. It sorts in the physical sequence of the block, then the RAP numbers.
- COND
- Runs the physical sequential sorting depending on conditions.
To use this option, the input unloaded data set must be created by IMS™ High Performance Unload with
the CHECKREC=YES option and the format of the unloaded data set must
be in the HD format or in the short header format.
The physical sequential sorting is done if any of the following is changed between the unload process and the reload process:
The physical sequential sorting is done whenever the following conditions are satisfied:
Requirement: For the following changes, you must specify SORT=YES instead of SORT=COND, because these changes cannot be detected by IMS HP Load with SORT=COND: