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.
Volume Identifier & Device Name, You can get it from your System Adminstrator.
Pradeep.
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
Sorry, misread the question. Objects.
Neet to restore them as Pradeep discussed.
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
is that possible to restore a deleted object without backup….
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
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