Not able to restore Logical File after it was damaged and deleted

215 pts.
Tags:
AS/400 administration
IBM System i 550
Logical Files
Restore files
RSTOBJ
We have deleted a Logical File from our system, since it was damaged. But now when we are restoring it from the Entire System using RSTOBJ, the Job is Failing and upon viewing the Joblog below messages are displayed.



RSTOBJ OBJ(ZUNS) SAVLIB(PRTDEVDTA) DEV(TAP02) OBJTYPE(*FILE) SEQNBR(344) New format ZUNSREC created for file ZUNS.                                Member ZUNS already exists.                                              Member not added. Errors occurred.                                       FILE ZUNS not restored to PRTDEVDTA.                                     Tried to refer to all or part of an object that no longer exists.        Tried to refer to all or part of an object that no longer exists.          Tried to refer to all or part of an object that no longer exists. Damage ignored for file ZUNS in PRTDEVDTA.                        No objects saved or restored for library PRTDEVDTA.      


Please Help......                



Software/Hardware used:
V5R4, iSeries 550

Answer Wiki

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

If I understand you correctly, your restore command should include *REPLACE on the “Output member option”. When the restore is done, you will need to ADD the logical file as a member

Discuss This Question: 2  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
  • philpl1jb
    If you have the source you can recompile the Logical or recreate the logical using the SQL command that was used to create it. The logical contains an index of data in physical files, since it doesn't contain the data it can be recreated. Phil
    49,840 pointsBadges:
    report
  • TomLiotta
    It would help if you posted the message identifiers instead of just a small part of the text of each message. However, this message -- "Damage ignored for file ZUNS in PRTDEVDTA." -- seems to be CPF3272. Here is the complete text:
       Message . . . . :   Damage ignored for file &1 in &2.
       Cause . . . . . :   Either member &3 or file &1 in library &2 was found
         damaged during processing.  The requested operation was partially completed.
          Related files or members may be logically damaged.
       Recovery  . . . :   If the request is not for a delete file operation (DLTF
         command), the damaged file &1 should be deleted and restored (RSTOBJ or
         RSTLIB command).  Then try your request again.
    I would guess that it was saved with damage. It's possible that damage exists in the underlying physical file. As Phil said, your best course is to recreate the file. Restoring it isn't very useful, especially if there have been any updates to the underlying physical file which would invalidate any indexes that were saved anyway. 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