Reloading HALDB partitions and databases for offline reorganization

HALDB partitions and databases can be reloaded with the HD Reorganization Reload utility (DFSURGL0).

The HD Reorganization Reload utility reads the output file from the HD Reorganization Unload utility. You do not specify the partitions to be reloaded. They are determined by the records in the input file to the HD Reorganization Reload utility.

Do not include DD statements for the HALDB database data sets. The HD Reorganization Reload utility uses dynamic allocation for HALDB data sets. This is not true for non-HALDB databases.

The data sets allocated for the HD Reorganization Reload utility are always the A–J data sets, even when the active data sets prior to the offline reorganization were the M–V data sets as a result of using the HALDB Online Reorganization function previously.

You must supply buffer pools for all data sets in the partitions that are reloaded. This includes the ILDSs.

The HD Reorganization Reload utility sets the image copy needed flag for data sets in partitions that it loads. You should image copy them as you would any database data sets after they have been reloaded.

The following code shows a sample job that reloads HALDB partitions. The partitions it reloads depend on the records in the input file.

//JOUKO3D JOB  (999,POK),JOUKO3,CLASS=A,NOTIFY=&SYSUID,
//        MSGLEVEL=(1,1),MSGCLASS=X,REGION=0M
//JOBLIB    DD DSN=IMSPSA.IMS0.SDFSRESL,DISP=SHR
//          DD DSN=IMSPSA.IM0A.MDALIB,DISP=SHR
//*******************************************************************
//*   HD RELOAD FOR THE PEOPLE DATABASE
//*******************************************************************
//RELOAD   EXEC PGM=DFSRRC00,REGION=1024K,
//         PARM='ULU,DFSURGL0,PEOPLE,,,,,,,,,,,Y,N'
//DFSRESLB  DD DSN=IMSPSA.IMS0.SDFSRESL,DISP=SHR
//IMS      DD DISP=SHR,DSN=JOUKO3.HALDB.DBDLIB
//DFSUINPT DD DSN=JOUKO3.UNLOAD.PEOPLE,DISP=OLD
//DFSVSAMP DD *
VSRBF=8192,50
IOBF=(4096,50)
/*
//SYSPRINT DD SYSOUT=*
//DFSSTAT  DD SYSOUT=*