Data set naming conventions for HALDB Online Reorganization
The data sets for HALDB partitions use a specified naming convention. HALDB Online Reorganization extends this naming convention to include a second set of data sets.
Data sets for partitions that are involved in HALDB Online Reorganization use the following naming convention: bbbbbbb.dppppp
- bbbbbbb
- Represents a data set name prefix of up to 37 characters that you defined using the HALDB Partition Definition utility or DBRC batch command (INIT.DB, INIT.PART, CHANGE.DB, or CHANGE.PART). The same data set base name is used for every data set within a HALDB partition.
- d
- Represents an IMS-assigned data set name type character that uniquely identifies a specific data set for a HALDB partition. The possible single-character values are:
- A-through-J
A
corresponds to the first, or possibly only, data set group that is defined in the DBD,B
corresponds to the second data set group, and so on. The use of the characters A-through-J applies generally to HALDB partitions, regardless of whether they are capable of being reorganized online.- M-through-V
M
corresponds to the first, or possibly only, data set group that is defined in the DBD,N
corresponds to the second data set group, and so on. The use of the characters M-through-V applies only to HALDB partitions that are capable of being reorganized online.- L
- The indirect list data set (ILDS). The online reorganization process does not make a copy of this data set.
- X
- The primary index of a PHIDAM database. This data set is the index for the A-through-J data sets and is replaced by the Y data set when the online reorganization process copies the database records from the A-through-J and X data sets into the M-through-V and Y data sets. The use of the X character applies generally to HALDB partitions, regardless of whether they are capable of being reorganized online.
- Y
- The primary index of a PHIDAM database. This data set is the index for the M-through-V data sets and it is replaced by the X data set when the online reorganization process copies the database records from the M-through-V and Y data sets into the A-through-J and X data sets. The use of the Y character applies only to HALDB partitions that are capable of being reorganized online.
- ppppp
- Specifies the five-digit partition ID that is assigned by IMS.
The data set names for the output data sets are identical to the names of the corresponding input data sets, except for the IMS-assigned data set name type character (A-through-J, M-through-V, X, or Y). The following table shows example data set names.
Active data set before online reorganization | Data set group or index | Partition id | Input data set name | Output data set name |
---|---|---|---|---|
A-through-J (and X) | 1 | 00003 | DH41.A00003 | DH41.M00003 |
A-through-J (and X) | Index | 00065 | ACCT.X00065 | ACCT.Y00065 |
M-through-V (and Y) | 2 | 00005 | PAY.MST.N00005 | PAY.MST.B00005 |
M-through-V (and Y) | 8 | 00001 | PAY.EMP.T00001 | PAY.EMP.H00001 |