How to delete physical file member?

70 pts.
Tags:
AS400 physical file
Clear Physical File Member
CLRPFM
Physical File
I tried to delete physical file member in AS/400 by using CLRPFM command...but nothing get deleted...why?
ASKED: March 7, 2011  8:48 AM
UPDATED: August 15, 2011  4:44 PM

Answer Wiki

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

CLRPFM only clears (or empties it of data)
to remove it use command RMVM
Ot use DLTF to delete the file

but if there is a logical file related to that file you can not delete it.
first delete related
lf than delete PF.

Take care..

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
  • MDratwa
    CLRPFM does not delete a member but deletes all the records in that member. If you want to delete a member, use "RMVM" to remove a member.
    785 pointsBadges:
    report
  • ToddN2000
    As a side note, if you have any logical files over the physical you cannot delete the PF without deleting the LF's first.
    6,360 pointsBadges:
    report
  • pdraebel
    Checking for logicals that refer to a physical can be done with DSPDBR command.
    2,380 pointsBadges:
    report
  • RayM
    Another thing to consider is logical files. You cannot remove a member that has a logical file member pointing to it.
    265 pointsBadges:
    report
  • ganeshpavi
    [...] How to delete physical file member? [...]
    0 pointsBadges:
    report
  • Splat
    But you can remove a logical file member and then remove the physical file member.
    6,255 pointsBadges:
    report
  • ganeshpavi
    [...] How to delete physical file member? [...]
    0 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