After performing a Zeroload, the output dbdname.DAT and .IDX files are the initialized data files for the database segment data and segment pointers. Exclusive use database data files reside in the location indicated by the exclusive use setting in the IMS project settings. If not set, they will reside in the project DATA directory. For Fileshare databases, the shared update IMS project setting names the Fileshare Server and optionally, a drive and/or directory.
The names for secondary index data files are the XDFLD's LCHILD name suffixed with both .DAT and .IDX. These files contain the secondary index key and pointer to the primary physical database. They reside in the same directory as the primary database files.
The database files may be copied, moved, renamed, or deleted using any standard operating system command or utility for manipulating files. These actions must be performed on both the .DAT and .IDX file components. The same actions should be applied to the .DAT and .IDX components for any secondary indexes. If a physical database is logically related to other databases, all of the files for the set of related databases must be acted on.
DBD NAME=TEST01DD, ACCESS=(HIDAM,VSAM) SEGM NAME=TESTHDRS,PARENT=0, BYTES=120 FIELD NAME=(SEQFIELD,SEQ,U), BYTES=1,START=4 FIELD NAME=REQ, BYTES=20,START=5 LCHILD NAME=(TESTHDRI,TEST01PD),PTR=INDX LCHILD NAME=(TESTHDRX,TEST012D),PTR=INDX XDFLD NAME=XSEQ,SRCH=REQ
The name input to Zeroload is TEST01DD. An attempt to Zeroload the primary index TEST01PD or the secondary index TEST012D will result in an error message.
The resulting database files for the primary database are TEST01DD.DAT and TEST01DD.IDX.
There is no 'special' data file for the primary index of a HIDAM database. The index is automatically included within these data files.
The resulting database files for the secondary index TEST012D are TEST012D.DAT and TEST012D.IDX.
If you copy this database to another directory, copy all four of these files. For deleting, backup, or other operations, perform the same action for each of these four files.