DB2 for z/OS: System & Data Recovery

This course provides a thorough and comprehensive introduction into recovery and restart procedures for both the DB2 for z/OS system and its data. The course describes and explains in detail the components, utilities and procedures involved in data and system backup and recovery, together with the various methods of utilising them to ensure maximum availability.
This course is applicable to all DB2 for z/OS environments, up to and including DB2 11 for z/OS.

Public dates - click to book!

3 July 2017


On successful completion of this course you will be able to:

  • list all of the major system, backup and recovery components
  • describe the need for DB2 logging to assist in recovery situations
  • describe the need for and use of all DB2 utilities
  • use the DB2 utilities and service aids specific to problem determination and recovery situations
  • identify when service aids may be required for use in recovery situations
  • describe the additional considerations when backing up and recovering catalog and directory tablespaces
  • describe the actions taken during normal start-up, operation, and shut-down of the DB2 system
  • describe the additional actions necessary following an abnormal termination of the DB2 system
  • explain why and how a deferred restart may be performed and understand the effect it will have on the DB2 system and data
  • explain why and how a conditional restart may be performed and the effect it will have on the DB2 system and data
  • understand the options available for a conditional restart and when each may be required
  • analyse any outstanding work following a deferred or conditional restart, and take the actions required to complete it
  • describe the structure and format of DB2 pagesets
  • analyse and repair broken DB2 pages
  • interpret common error messages, and decide upon the actions required
  • understand and implement DB2 system and data recovery and restart procedures.

Who Should Attend

Systems Programmers, technical DBAs and other technical support personnel responsible for DB2 for z/OS system or database recovery.


A good knowledge of TSO/ISPF, SQL and general DB2 principles, structure and components.


4 days

Fee (per attendee)

£1750 (ex VAT)

Course Code



DB2 Overview

DB2 architecture overview; working storage areas; storage pools; buffer pools; DB2 attachments; logging & recovery data sets; system databases; DB2 data objects; object characteristics; SQL overview; DB2 Interactive (DB2I).

DB2 Logging

DB2 logging; active and archive logs; boot-strap data set (BSDS); unit of recovery; two phase commit protocol; logging parameters; size & number of logs; checkpoints; checkpoint records; controlling logging using commands.

Introduction to DB2 Utilities

Online and stand-alone DB2 utilities; invoking online utilities using DB2I; utility control statements; using LISTDEF & TEMPLATE; use of wild Cards with LISTDEF; TEMPLATE options.

DB2 Utilities for Data Backup & Recovery

Backup & recovery components; use of SYSIBM.SYSCOPY; use of SYSIBM.SYSLGRNX; the COPY utility; using LISTDEF and TEMPLATE; COPYTOCOPY utility; MERGECOPY utility; QUIESCE utility; RECOVER utility; RECOVER using LISTDEF; recovery involving referential integrity, large object (LOB) and XML data: identifying consistent recovery points; point in time recovery; p-i-t recovery implications for RI, LOB and XML data; resetting status codes; REBUILD INDEX utility; REPORT utility; MODIFY utility.

DB2 Utilities for System Backup & Recovery

BACKUP SYSTEM utility; RESTORE SYSTEM utility; restoring to a specified point.

Other DB2 Utilities

CHECK DATA utility; CHECK INDEX utility; CHECK LOB utility; REPAIR utility; LOAD utility; REORG utility; RUNSTATS utility; STOSPACE utility; UNLOAD utility.

Stand-Alone Utilities (service aids)

Invoking stand-alone utilities; DSN1COPY utility; DSN1PRNT utility; DSNJU004 (print log map) utility; DSNJU003 (change log inventory) utility; DSN1LOGP utility; DSN1CHKR utility; DSN1COMP utility; DSNJLOGF utility; DSNJCNVB utility.

Catalog & Directory Recovery

Catalog / Directory recovery implications; recovery sequence; Catalog & Directory point-in-time recovery; recovery implications; system-wide points of consistency.

DB2 Termination and Restart

Issuing DB2 commands; starting DB2; log Initialisation; current status rebuild; forward log recovery; backward log recovery; processing log records; controlling lock manager (IRLM); controlling Distributed Data Facility; controlling DB2 attachments; DB2 commands to control other resources; stopping DB2.

Abnormal Termination & Restart

DB2 error messages & reason codes; data integrity considerations; log initialisation/current status rebuild/forward & backward log recovery implications; in-doubt threads and resolution; processing redo/undo records; deferred restart and its implications; delaying backout of long running tasks; conditional restart; creating a conditional restart control record, log truncation, limit restart, bypass backout, cold start, conditional restart implications; DSN1LOGP; cleaning up.

DB2 Physical Data Storage

VSAM file requirements; creating VSAM files; page sets; page set structure; index structure; index keys & pointers; data navigation; RIDS, pointers, and holes; table row header format; large object (LOB) data; large object columns; XML data; XML storage structure names; page set status; page set restrictions; analysing and fixing broken pages.

Problem Analysis & Resolution

Basic code structure; DB2 messages and codes; DB2 subcomponents; DB2 control blocks; problem identification and resolution; basic dump analysis; identifying SQL statement; diagnosis traces and utilities; potential problem areas; active log out of space; active log I/O errors; archive log I/O errors; BSDS errors; forced single BSDS mode; recovering BSDS; data errors; down level datasets; down level dataset resolution.

© RSM Technology 2017