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.
If you specify the IDCAMS(MODEL) keyword and do not specify an input file, then you must set DYNALLOC(YES) on.
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:
NAME(A.B.C.Z) -
MODEL(A.B.C) -)