How to find out Damage object

20 pts.
Tags:
Damaged object
i5
i550
Physical File
V5R3
How to find out damage object in AS/400 server. We have i550 V5R3M0 server & What is the procedure to recover the same. It is a Physical file.
ASKED: July 31, 2008  12:16 PM
UPDATED: August 1, 2008  2:11 PM

Answer Wiki

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

Hi,

You should be able to find out if it’s damaged using the DSPOBJD command.

To recover you can either restore the object from a save made before the object was damaged or you can use CPYF to take a copy of your data, delete the damaged object and rename the copied file. If you have logicals, then you’ll have to delete them and restore them after you’ve renamed your data file. You should also check to see whether your file is journalled or has triggers or restraints, these you will have to re-apply manually.

Regards,

Martin Gilbert.

**************
Or you may be able to just run the CHGPF command against the damaged physical file, referencing the source member for the file (presuming its definition was from DDS). This has worked for me before. Apparently, if the definition portion of the object is where it’s damaged, running the CHGPF command rebuilds it (and its logicals, if there are any).

CWC

Discuss This Question:  

 
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

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