SORTHIDAM control statement
Specifies whether to run the sort processing before loading a HIDAM or a PHIDAM.
The HIDAM or PHIDAM unloaded data must be in the order of root keys. If it is not in that order because the root keys are changed after unloading, you must specify SORTHIDAM=YES. This control statement is optional. If you do not specify this control statement, SORTHIDAM=NO is used.
- NO
- Does not run the sort process.
- YES
- Runs the key sequential sort process before the reload process. The sort is done in the order of the root keys.
Restrictions:
Note: For a HIDAM database,
DFSORT allocates intermediate storage data sets dynamically for the sort process with sizes
estimated based on the primary allocation size of DBDS. For a PHIDAM database, the size is estimated
based on the number of partitions. If you specify the number of unloaded records in the RECNUM
control statement, this value supersedes other values and is used for estimation. If you need to
adjust the size, specify the SORTWKnn DD statements explicitly.