ICNEEDED


The ICNEEDED keyword is valid with the BUILD, REORG (Online Reorg function and Reorg function), and GROUP commands.

You can specify this option in an Index Build function or Reorg function global options module or in PLUSIN. The following table describes the ICNEEDED flag keyword.

To do this

Specify this in PLUSIN

Turn the ICNEEDED flag on for all secondary and primary index DBDs. (Index Build function)

ICNEEDED(ON)

Turn the ICNEEDED flag off for all secondary and primary index DBDs. (Index Build function)

ICNEEDED(OFF)

Turn the ICNEEDED flag on for all primary database, secondary index, and primary index DBDs. (Reorg function)

ICNEEDED(ON)

Turn the ICNEEDED flag off for primary database, secondary index, and primary index DBDs that are defined NONRECOV. (Online Reorg function and Reorg function)

ICNEEDED(OFF)

Internal default: Set according to RECOV and NONRECOV settings. If the database is set as RECOV, the default is ICNEEDED(ON). If the database is set as NONRECOV, the default is ICNEEDED(OFF).

The NOTIFY.REORG command turns the ICNEEDED flag on. The ICNEEDED keyword specifies whether the RECON data sets should have the Image Copy Needed (ICNEEDED) flag left on or turned off for the reorganized databases or the index DBD being loaded. If you do not specify this keyword, the default is set according to the DBRC RECOV and NONRECOV settings:

  • If a database is set as RECOV, the default is ICNEEDED(ON).
  • If a database is set as NONRECOV, the default is ICNEEDED(OFF).

For information about NONRECOV databases, see DBRC-and-NONRECOV-DBRC-support.

When you specify ICNEEDED(OFF), a NOTIFY.UIC is issued for RECOV databases. For more information, see NOTIFY-UIC-and-recovery-DBRC-support.

DBRC must be active for the ICNEEDED keyword to work.

You can set the default Index Build function value for the ICNEEDED option by using the Index Build function ISPF panels or the equivalent batch job. Sample JCL is in member #DBUGLBL of the sample library. You can set the default Reorg function value for the ICNEEDED option by changing the FRF$GLBL global options module. Sample JCL is in member #FRFGLBL of the sample library.

If a database is registered as NONRECOV, DBRC activity is also affected by the value you specified for the NONRECOV keyword in the DLIGSET0 module.

This section contains the following topics:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.1