EXEC statement—JCL requirements


The EXEC statement for each utility except the Index Build function and the Prefix Resolution/Update function uses the same format as the EXEC statement that is used for the IMS utilities.

It calls the region controller DFSRRC00 and specifies a ULU region. DBRC parameters can be included on the EXEC statement. You can add the IMSID parameter to override the IMSID specified in the IMS RESLIB.

The MAXM Reorg solutions do not run as an IMS dependent region.

EXEC statements by command

Command

EXEC statement

REORG (Online Reorg function and Reorg function)

PGM=DFSRRC00,PARM='ULU,DFSURGL0,dbdName'

dbdName is the name of the database being reorganized.

COPY (Copy function)

PGM=DLICPYON

UNLOAD (Unload function)

PGM=DFSRRC00,PARM='ULU,DFSURGU0,dbdName'

dbdName is the name of the database being unloaded.

RELOAD (Reload function)

PGM=DFSRRC00,PARM='ULU,DFSURGL0,dbdName'

dbdName is the name of the database being reloaded.

BUILD/BUILDALL (Index Build function)

PGM=BMCSIU

Prefix Resolution/Update function

  • For the IMS compatible Prefix Resolution function and High-performance Prefix Resolution function:
    PGM=DFSURG10 or PGM=PRPURG10
  • For the Two-step Prefix Resolution function:
    • Parent-Child Resolution step:
      PGM=PRPURG20
    • Logical Twin Resolution step:
      PGM=PRPURG30
  • For the Stand-alone Prefix Update function:
    PGM=PRPURGP0
  • For the Concurrent Prefix Update function:
    PGM=DFSURG10
  • For the Secondary Index Resolution function:
    PGM=PRPURG40
  • For the Work File 1 Generator function:
    PGM=DFSRRC00,PARM='ULU,DFSURGL0,dbdName'
  • For the Work File 1 Splitter function:
    PGM=PRPSPLIT

Image Copy function

The Image Copy function runs under the Online Reorg function and Reorg function only; it cannot run as a stand-alone utility.

CLONE (Clone function)

PGM=DLIGENTR

The JCL requirements are similar for all MAXM Reorg solutions. The functions use the commands shown in the following table.

Commands

Function

Command

Description

Online Reorg function

REORG

Reorganize a database while updates are being made by an online IMS or CICS/DBCTL system by using the Reorg function, the Unload function, the Reload function, the Index Build function, and the Image Copy function.

Reorg function

REORG

Reorganize a database by using the Unload function, the Reload function, and the Index Build function. Prefix resolution and update is also integrated for logical relationships.

Copy function

COPY

  • Heal Extended Pointer Set (EPS) pointers in a HALDB (offline or online)
  • Reorganize indexes without reorganizing the primary database.
  • Remove CI/CA splits while the database is online for updates.
  • Produce copies of databases for use in other systems.

Unload function

UNLOAD

Unload the records in a database.

Unload function

DBSELECT

Retrieve selected records from a database. For more information, see Database-Selection-facility.

Unload function

TRACE

UNLOAD

USERREAD

Use the API. For more information, see API—Unload function.

Reload function

RELOAD

Reload the records in a database.

Reload function

SORT

Sort unloaded records before reloading them by using the stand-alone HD Sort utility. For more information, see HD-Sort-utility.

To sort and reload a database, specify the HDSORT keyword with the RELOAD command.

Reload function

USERLOAD

Use the API to load a database initially. For more information, see API—Unload function.

Index Build function

BUILD

BUILDALL

XFLD

XSCN

XLOD

Build indexes (primary, secondary, or both) for a database.

The BUILDALL, XFLD, XSCN, and XLOD commands are converted to a BUILD command automatically.

Index Build function

SPLIT

Split the WF1 file and write index records to one file and logical relationship records to another file.

Image Copy function

IC

AIC

Create output image copies during the database reorganization process. Keywords are specified in the ICPSYSIN data set.

Image Copy function

GLBL

GROUP

Set global and group options for the Image Copy function. Keywords are specified in the ICPSYSIN data set.

Clone function

CLONE

Create an internally consistent copy of a database or a list of databases.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Online Reorg for IMS 5.1