The catalog partition
definition data set is populated with the values specified with the
HALDB and PART parameters of the utility.
//S1 EXEC PGM=DFS3UCD0,REGION=0M
//STEPLIB DD DSN=IMS.SDFSRESL,DISP=SHR
//DFSRESLB DD DSN=IMS.SDFSRESL,DISP=SHR
//DFSHDBSC DD DSN=...,DISP=
//SYSPRINT DD SYSOUT=*
//IMS DD DSN=IMS.DBDLIB,DISP=SHR
//SYSIN DD *
HALDB=(NAME=DFSCD000)
PART=(NAME=DFSCD000,PART=xxxxxxxx,
DSNPREFX=xxxxxxxx,
KEYSTCHAR=xxxxxxxx)
/*
The name DFSCD000
in the HALDB and PART statements contains the default catalog prefix
DFSC. If your catalog uses an alias name prefix, substitute it in
the JCL.
The root key for a catalog record is the value of the
RHDRSEQ field in the HEADER segment of the catalog record. This key
value is generated by the IMS catalog
populate utility (DFS3PU00) or the ACB generation and catalog populate
utility (DFS3UACB). The value is created by concatenating the record
type and the IMS member name
of the resource. The record type is eight characters long and is right-padded
with blank characters. The IMS member
name is always eight characters long.
For example, the root
key for a DBD record with the name ACF12000 is the following:
DBD ACF12000
The
root key for a PSB record with the name MXG88888 is the following:
PSB MXG88888
The
root key value is also used to sort catalog records into database
partitions, if your catalog database consists of more than one partition.
The partition high key for the last partition in the database must
be high enough to contain the highest-key record in the catalog.
The
catalog secondary index can have only one partition.