REORGINPUT control statement

Specifies the type of input data sets for reorganization processing.

This control statement is optional. The default is REORGINPUT=DBDS.

Read syntax diagramSkip visual syntax diagramREORGINPUT=DBDSULDS
DBDS
Database data sets are unloaded by the Unload task and unload records are passed to the Reload task through IPRPIPE.
ULDS
Instead of unloading database data sets, unloaded data set is used as the input for reorganization processing. A DFSUINPT DD statement, which specifies the unload data set, must be present. All types of record formats supported by the IPR Unload utility can be used.

When REORGINPUT=ULDS is specified, the Reload task writes to the original database data set directly, not to the shadow database data sets. Therefore, shadow data sets are not needed. Optional tasks, Index Builder, Prefix Resolution, and Image Copy with hash pointer checking, are available. For other control statements, note the following:

  • CONDREORG=YES cannot be specified. Conditional Reorganization mode is not supported.
  • In the (REORG) block, DBSHARE=YES, NAMESWAP=YES, NEWDBD=ddname, INDEXBLD=YES,NEW, or PSINDEXBLD=YES,NEW cannot be specified. INDEXBLD=YES is interpreted as INDEXBLD=YES,CURRENT. PSINDEXBLD=YES is interpreted as PSINDEXBLD=YES,CURRENT.
  • In the (RELOAD) block, the IPR Reload utility control statements listed in Overview of the IPR Reload control statements can be specified except for the DBRECDIST, DECODEDBD, RAPCHAIN, ILDSBLD, and PARTINFO control statements. The DECODEDBD and the ILDSBLD control statement can be specified in the (REORG) block.
  • To reorganize a HALDB, note also the following:
    • You must specify the PARTINIT control statement in the (RELOAD) block to initialize empty partitions. For details, see PARTINIT control statement.
    • You can specify the ILDSBLD control statement in the (REORG) block. For details, see ILDSBLD control statement.
    • The Smart Reorg utility requires that the partition to be reloaded is stopped and the DBRC PROHIBIT AUTHORIZATION flag is turned on. If IMSCMD=YES or DBRCAUTHCMD=YES is specified, the Smart Reorg utility issues commands automatically to meet these requirements. If you do not want to stop all the partitions, specify the PARTITION control statement in the (REORG) block to specify a partial range of partitions. In this case, if a segment is attempted to be reloaded to a partition that is out of the range, the reorganization processing is forced to terminate. For details, PARTITION control statement.
    • If IC=YES, image copy is taken for the partition that is reloaded or initialized.

Certain considerations apply when the IMS management of ACBs is enabled and you specify REOGINPUT=ULDS. For details, see Considerations for the IMS management of ACBs.

A JCL example for using REORGINPUT=ULDS is provided in Example 11: Reloading a database and taking an image copy.