Reorg function with the IDCAMS keyword


If you specify the IDCAMS keyword on the REORG command with SHARE(YES,READ), the Reorg function uses the data set specified by the IDCAMS keyword once to delete and define the VSAM shadow data sets at initialization if shadow data sets are used for data set name swapping.

MODEL is a parameter for the IDCAMS of the REORG command. The MODEL parameter is used to specify an existing cluster from which the attributes used to define the new cluster should be copied. BMC only supports SMS managed data sets since we do not allow VOLUME to be overridden.

MODEL can be used to create shadow secondary indexes with a two character partition number appended to the letter defined in the DYNALLOC keyword. When a subset of partitions is reorganized and no secondary index shadows are found that conform to the normal DYNALLOC naming convention, the online reorganization will automatically recognize that these special shadows are required. This special shadow naming convention allows multiple concurrent online reorganizations of subsets of the same HALDB database to run.

Warning

You might encounter space problems if you use this keyword with non-SMS data sets.

If you specify the IDCAMS(MODEL) keyword and do not specify an input file, then you must set DYNALLOC(YES) on.

Warning

If IDCAMS issues any non-zero return code, the BMC reorganization job terminates. Check for messages issued by IDCAMS.

If you have a ddname MODEL present in the job, the MODEL will be treated as an input data set. The following example shows the use of the MODEL parameter in the IDCAMS statement:

DEFINE CLUSTER ( -
NAME(A.B.C.Z) -
MODEL(A.B.C) -)

 

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