Missing file description for a physical file

Tags:
AS/400
DSPFD
We copied data from one environment to another. One file is causing problems. The data exists, the object exists, the database relations exist but the file description (DSPFD) is missing so no journalling. I can't rename the object and copy a new version, and I can't CRTDUPOBJ because the object exists. Is there a way to (re)create the description only?


Software/Hardware used:
AS400 v5r4
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 4  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.
  • Splat
    What errors are you getting when you attempt to execute DSPFD against the file?
    12,885 pointsBadges:
    report
  • AbbyBurroughs

    File XXXXPF in library YYYYDTA not found, but DSPPFM shows the data. There had been a CPF7003 in the job log for the file copy (on the STRJRNPF command) and that seems to have been the cause of the problem. We deleted the associated logicals, then the file, then copied from another environment so it's ok now. I'm interested to know what else we could have tried.  

    15 pointsBadges:
    report
  • deepu9321
    Did you already have file in Target Library with No Members?

    This could be one of the reasons for this.

    Pradeep.
    4,980 pointsBadges:
    report
  • Splat
    I would like to have known the reason code associated with the CPF7003.  If you still have that available you might see what condition is indicated.

    As replacing the file seems to have corrected the problem I would suspect the file may have been damaged (by what I can't say), but this is speculation on my part.

    12,885 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.

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

Following

Share this item with your network: