Previous Topic

Next Topic

Book Contents

Book Index

Procedure CTBDBCP

Member CTBDBCP of the IOA PROCLIB library contains a procedure that calls a series of programs to automatically enlarge a database file. The following explanation assumes that the name of the file that needs to be enlarged is ...GRPD. Before using this procedure, perform the following steps:

  1. Rename the source input file from ...GRPD... to ...GRPD...OLD. For example, rename file CTB.V600.GRPD.E000 to CTB.V600.GRPD.E000.OLD
  2. If DUAL is set to Y (Yes) in member DEFGRPD in the INSTWORK library, rename file CTB.V600.GRPD.D000 to CTB.V600.GRPD.D000.OLD.
  3. Modify member DEFGRPD in the INSTWORK library by increasing the space allocated for the file.
  4. Run the job in member JOBFGRP of the CTB.V6xx.JCL library.

When the procedure described above is called, the following actions are performed:

  1. Program IOADBF formats a new pre-allocated IOA Access Method output file.
  2. Program CTBDBCP copies data from the input file to the output file.
  3. Program IOADIG verifies the integrity of the output file data component.
  4. Program IOADBF reformats the existing index component for the file.
  5. Program IOADIB rebuilds the index component.
  6. Program IOADPT prints index and data component control records to the output file.

For additional information, see sample member JDBCP in the JCL library.

Parent Topic

CTBDBCP – Increase Size of a Database File