---
title: "IMS DB – Backward and Forward Recovery"
description: "Recovery is the term we use in the sense of IMSDB is restoring a database to its point of integrity. https://srinimf.com/2011/12/28/ims-db-v11-latest-enhancements/. Backward Recovery - IMS will do dyn..."
url: https://srinimf.com/2014/07/16/imsdb-backward-and-forward-recovery/
date: 2014-07-16
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2014/07/pexels-photo-6981245.jpeg?fit=1839%2C1300&ssl=1
categories: ["IMS DB"]
tags: ["IMS DB Tips and Tricks"]
type: post
lang: en
---

# IMS DB – Backward and Forward Recovery

Recovery is the term we use in the sense of IMSDB is restoring a database to its point of integrity.

Related[IMS DB V11-Latest Enhancements](https://srinimf.com/2011/12/28/ims-db-v11-latest-enhancements/)

[![](http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=0132886871&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=mainframesrin-20)](http://www.amazon.com/gp/offer-listing/0132886871/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0132886871&linkCode=am2&tag=mainframesrin-20&linkId=KR5WEGJDCPFLWPBS)

**Backward Recovery –** IMS will do dynamically backout the data in the following scenarios:

**Online environment:**

- An application program terminates abnormally
- An application program issues a rollback call
- An application program tries to access an unavailable database
- A deadlock occurs

**Batch:**

We need to specify to IMS through DBRC, that data should be dynamically backed out during batch job abends.

Related[DBRC in IMSDB Its Real Usage](https://srinimf.com/2014/06/19/imsdb-dbrc/)

Manually we do backout by using utility  – **DFSBBO00**

Note: Registering a database under DBRC helps to recover database during failures.

**Forward Recovery- **If your databases are registered with DBRC (and they should be), then you will need to take an image copy of the reorganized databases. This is for the same reason as above. IMS database forward recovery, using changes recorded in IMS logs, relies on the position of the segments relative to the start of the data set, which is altered by the reorganization. You need to take the image copies to establish a new base from which the databases can be rolled forward.

**IMSDB Utilities**

[![](http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=0911625291&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=mainframesrin-20)](http://www.amazon.com/gp/offer-listing/0911625291/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0911625291&linkCode=am2&tag=mainframesrin-20&linkId=GP6IUUCC2ABJA22R)

1. System log recovery utility (DFSULTRO)
2. Database image copy utility (DFSUDMP0)
3. Database change accumulation utility (DFSUCUM0)
4. Database recovery utility (DFSURDB0)
5. Database batch backout utility (DFSBBO00)
6. UNLOAD Utility(DFSURGL0)

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2014%2F07%2F16%2Fimsdb-backward-and-forward-recovery%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2014%2F07%2Fpexels-photo-6981245.jpeg%3Ffit%3D1200%252C848%26ssl%3D1&description=IMS%20DB%20-%20Backward%20and%20Forward%20Recovery)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2014/07/16/imsdb-backward-and-forward-recovery/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2014/07/16/imsdb-backward-and-forward-recovery/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2014/07/16/imsdb-backward-and-forward-recovery/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2014/07/16/imsdb-backward-and-forward-recovery/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20IMS%20DB%20-%20Backward%20and%20Forward%20Recovery&body=https%3A%2F%2Fsrinimf.com%2F2014%2F07%2F16%2Fimsdb-backward-and-forward-recovery%2F&share=email)
-

### Like this:

Like Loading…
