System 890 Crash-Damaged File

15 pts.
Tags:
AS/400
Damaged object
V5R2
zSeries 890
We had a power outage at our server location and the UPS failed, thus our partition crashed. Once we were back up, we discovered a damaged object (a file in our production library). What is the best way for recovering (fixing) the file? We are on V5R2.

Answer Wiki

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

From my experience with a Damaged file(s), the best way to handle is to restore the file(s) from a backup tape or if you have an HA system you can pull the file(s) from there if it hasn’t already moved over the damaged file.

Discuss This Question: 5  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
  • Gilly400
    Hi, I agree with Tpinky that your best option is to restore the object from before the crash. I suggest you check out the rest of the objects on your system to make sure you don't have any other damaged objects from the crash. You should be able to do a DSPOBJD *ALL/*ALL to an *OUTFILE and then run a query to find the damaged objects. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • Suthor
    Thanks for the anwers, but instead of restoring, I tried the CHGPF command, telling it where the source was and this recreated the identifying information about the file (which is apparently what was damaged) and the file began to work correctly after the command ran. This was discovered in a tip from the News400 April 1998 edition.
    15 pointsBadges:
    report
  • Tpinky
    Hello, Thanks for the tip on the CHGPF. Teresa
    4,165 pointsBadges:
    report
  • Gilly400
    Hi, Good to hear you managed to recover the damaged object. Well done. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • TomLiotta
    Although you "fixed" the file, the best way is to delete the file and either recreate it from source or restore from backup. CHGPF might "fix" some component objects of a file, but there's no way to know for sure. Damage might still exist that you simply haven't discovered yet. However... it is indeed a useful tip. It's worth giving a try until serious recovery can be done. 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