Defining the maximum size of OSAM data sets for a new HALDB database

When you register a new HALDB master database with DBRC, you can specify the maximum size of OSAM PHDAM or PHIDAM data sets.

A HALDB database can support up to 4 or 8 gigabytes of data in OSAM PHDAM or PHIDAM database data sets.

Procedure

  1. Issue the DBRC batch command INIT.DB DBD(master_HALDB_name) TYPHALDB.
  2. Unless you want the default of 4-GB OSAM data sets and the ability to use the HALDB online reorganization (OLR) function, include these keywords on the command:
    • For 8-GB OSAM data sets, specify OLRNOCAP and OSAM8G.
    • For 4-GB OSAM data sets that cannot be reorganized online, specify OLRNOCAP and NOOSAM8G.
The HALDB database is registered with DBRC, and the master database record indicates whether the HALDB database supports 4-GB or 8-GB OSAM data sets.