Communicating with DBRC


Use DBRC batch and online commands or DBRC API requests to obtain services from DBRC. The following sections discuss these commands and requests in more detail.

DBRC Commands

Use DBRC batch and online commands to:

  • Add, change, and delete information in the RECON data sets

  • Generate the JCL and the control statements necessary to run the various IMS utilities used in database recovery

The following is a list of the DBRC batch commands:

  • BACKUP.RECON: Used to create backup copies of the RECON data set.

  • CHANGE: Used to modify information in a RECON data set.

  • DELETE: Used to delete information from a RECON data set.

  • GENJCL: Used to generate JCL and utility control statements that run the various IMS recovery utilities.

  • INIT: Used make the following changes to a RECON data set:

    - Create entries

    - Create change accumulation (CA) groups

    - Register DBDSs or DEDB areas

    - Define global service groups

    - Register HALDB partition

    - Initialize a RECON data set

  • LIST: Used to produce a formatted printout of all or selected information contained in a RECON data set.

  • NOTIFY: Used to add information to a RECON data set that is normally written there automatically.

  • RESET.GSG: Used to remove obsolete recovery information from an original active site RECON data set.

You issue these batch commands to DBRC by including them in the JCL job that runs the Database Recovery Control utility (DSPURX00).

You can issue a variation of some of the DBRC batch commands online using the /RMxxxxxx command (for example, /RMCHANGE.RECON).

Related Reading: For more information about the DBRC commands, see Part 2, "DBRC Command Reference" in IMS Version 9: Database Recovery Control (DBRC) Guide and Reference.

DBRC Application Programming Interface (API)

The DBRC API was introduced with IMS Version 9. You can write programs that issue requests to the DBRC API instead of issuing DBRC batch commands that are embedded in the JCL job that runs the Database Recovery Control utility. Use DBRC API requests to:

  • Start and stop DBRC.

  • Query information from the RECON data set.

The following is a list of the DBRC API requests:

  • STARTDBRC: Used to initialize the DBRC API and to start DBRC.

  • QUERY: Used to retrieve information from the RECON data set.

  • RELBUF: Used to release storage that was acquired as a result of a DBRC query request.

  • STOPDBRC: Used to terminate the DBRC API and to stop DBRC.

Related Reading: For more information about the DBRC API and the API requests, see the chapter titled "Using the DBRC API" in IMS Version 9: Database Recovery Control (DBRC) Guide and Reference.



Introduction to IMS. Your Complete Guide to IBM's Information Management System
An Introduction to IMS: Your Complete Guide to IBMs Information Management System
ISBN: 0131856715
EAN: 2147483647
Year: 2003
Pages: 226

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net