275 pts.
 Restoration
Is it possible to restore the deleted objects in AS400?plz guide me??

Software/Hardware used:
AS400 (RPG,CL)
ASKED: December 19, 2011  7:12 AM
UPDATED: March 17, 2012  6:12 AM

Answer Wiki:
If your System Administrators are taking backup into tapes for your application, Then you should request for the most recent tape and Restore the objects from tape. RSTOBJ command will help you in this regard. <pre> Restore Object (RSTOBJ) Type choices, press Enter. Objects . . . . . . . . . . . . > TESTPGM Name, generic*, *ALL + for more values Saved library . . . . . . . . . > LIBNAM Name, generic*, *ANY + for more values Device . . . . . . . . . . . . . > DEVICENM Name, *SAVF, *MEDDFN + for more values Object types . . . . . . . . . . *ALL *ALL, *ALRTBL, *BNDDIR... + for more values Volume identifier . . . . . . . P01622 + for more values Sequence number . . . . . . . . *SEARCH 1-16777215, *SEARCH </pre> Pradeep.
Last Wiki Answer Submitted:  December 19, 2011  7:21 am  by  deepu9321   3,370 pts.
All Answer Wiki Contributors:  deepu9321   3,370 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Volume Identifier & Device Name, You can get it from your System Adminstrator.

Pradeep.

 3,370 pts.

 

Journalling – is the file(s) journalled?
You can tell this in the DSPFD listing
It will also list the Journal and Journal Library, you will need these.
Phil

 44,220 pts.

 

Sorry, misread the question. Objects.
Neet to restore them as Pradeep discussed.

 44,220 pts.

 

Deleted objects can be restored if they were saved and if the savefiles still exist and can be obtained.

The savefiles might be files stored on the system or on another system in your network. Or they might be on physical media such as a tape, CD or DVD.

Whoever is in charge of your system’s backups can guide you to where saved copies might be.

Once you locate the savefiles, you can restore from them using the appropriate RSTxxx command. You might use the RSTOBJ command to restore just the objects that you want.

Tom

 108,330 pts.

 

is that possible to restore a deleted object without backup….

 3,740 pts.

 

is that possible to restore a deleted object without backup….

No! But perhaps you could recreate it.
Since all objects are created and can be recreated.
If you have the source, programs can be recomiled
If you have the DDS source or SQL then files can be recreated (but not the data)
If the file was jounalled you can recover some or all of the data.
All other objects can be created in one manner or other.

Tell us more about the lost object. Perhaps we can help.

This is why backup and recovery plans are so important. You don’t recover from a disaster often but you do recover from small errors on a regular basis.
Phil

“Alas, poor Yorick! I knew him, ” — Shakespeare

 44,220 pts.

 

is that possible to restore a deleted object without backup….

Restore? No.

Recover? Maybe.

The options that Phil listed might be appropriate. If RPG or CL programs are involved, recompiling from the source code is the best option.

But under some circumstances, a useful copy might still exist in the system in the QRPLOBJ library. In order to know if that is a useful option for you, we would need to know more about your circumstances and about how the objects were deleted.

Tom

 108,330 pts.