How to use CA Database Surgeon to zap an RBA.

book

Article ID: 16956

calendar_today

Updated On:

Products

CA Database Analyzer (IMS Tools) CA Mainframe Configuration Manager for IMS for z/OS IMS TOOLS - MISC CA Compress Data Compression (IMS Tools) CA Database Analyzer for IMS for z/OS CA Database Copier for IMS for z/OS CA Database Organizer for IMS for z/OS CA Mainframe Extended Terminal Manager (IMS Tools) CA High Performance Recovery for IMS for z/OS CA Database Organizer (IMS Tools) CA Mainframe Program Restart Manager for IMS for z/OS CA Secondary Index Builder for IMS for z/OS CA 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.