How to use CA Database Surgeon to zap an RBA.
search cancel

How to use CA Database Surgeon to zap an RBA.

book

Article ID: 16956

calendar_today

Updated On:

Products

Database Analyzer (IMS Tools) Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC Compress Data Compression (IMS Tools) Database Analyzer for IMS for z/OS Database Copier for IMS for z/OS Database Organizer for IMS for z/OS Mainframe Extended Terminal Manager (IMS Tools) High Performance Recovery for IMS for z/OS Database Organizer (IMS Tools) Mainframe Program Restart Manager for IMS for z/OS Secondary Index Builder for IMS for z/OS Secondary Index for IMS for z/OS

Issue/Introduction



How can we use CA Database Surgeon to zap an RBA to resolve a corrupt database?

Environment

Release:
Component: DBA

Resolution

Sample JCL for the display and zap functions of Database Surgeon can be found in CIMTSAMP(JCLDBS).

In this example the BLOCKS and OFFSET control statements have been used but these can be replaced with a specific RBA, in either decimal or hexadecimal format:

RBA=n
RBA=X'y'

In the JCL and in the control cards, DBSRZAP defines the database data set.

Note if you are using RBA, then you should remove BLOCK and OFFSET.