Get that deleted record back

Deleted that record, by mistake. Check out this tip to learn how you can get it back.

Aah! Deleted that record, by mistake. Well now you can get it back! Especially if you have a product like DBU loaded

on your system.

I have outlined the steps involved in UNDELETING records using DBU.

Unless you reorganize your file, you are still able to recover from an accidental deletion.

Hope this works for you, as it does for me.

Good Luck ...

To UNDELETE records using DBU do the following:

1. DBU

2. In the Control option, key in RRN and press Enter.

3. In the Control option, key in RDR and press Enter. When prompted with the Reactivate Deleted Records window select 1 (On) option.

4. Locate the Deleted Record by scrolling through the records.

5. When on the Deleted Record (** DELETED RECORD ** will be displayed), press F17 (Shift F5) twice. Viola, the record is no longer flagged as deleted.

p>==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Aah! Deleted that record, by mistake. Well now you can get it back! Especially if you have a product like DBU loaded on your system.

I have outlined the steps involved in UNDELETING records using DBU.

Unless you reorganize your file, you are still able to recover from an accidental deletion.

Hope this works for you, as it does for me.

Good Luck ...

To UNDELETE records using DBU do the following:

1. DBU

2. In the Control option, key in RRN and press Enter.

3. In the Control option, key in RDR and press Enter. When prompted with the Reactivate Deleted Records window select 1 (On) option.

4. Locate the Deleted Record by scrolling through the records.

5. When on the Deleted Record (** DELETED RECORD ** will be displayed), press F17 (Shift F5) twice. Viola, the record is no longer flagged as deleted.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


This was first published in April 2002

Dig deeper on iSeries CL programming

1 comment

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close