Restoration

285 pts.
Tags:
AS/400
Is it possible to restore the deleted objects in AS400?plz guide me??

Software/Hardware used:
AS400 (RPG,CL)

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • deepu9321
    Volume Identifier & Device Name, You can get it from your System Adminstrator. Pradeep.
    4,290 pointsBadges:
    report
  • philpl1jb
    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
    51,355 pointsBadges:
    report
  • philpl1jb
    Sorry, misread the question. Objects. Neet to restore them as Pradeep discussed.
    51,355 pointsBadges:
    report
  • TomLiotta
    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
    125,585 pointsBadges:
    report
  • pdsathishkumar
    is that possible to restore a deleted object without backup....
    3,790 pointsBadges:
    report
  • philpl1jb
    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
    51,355 pointsBadges:
    report
  • TomLiotta
    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
    125,585 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following