Q

Clearing physical member file records

If you are trying to clear a physical member file, but get a message that says: FILE *** in LIBRARY *** is in use, what do you do? Scott Ingvaldson provides a quick fix.

I'm trying to clear record one of the physical member files. i used the commands CLRPFM but i got the message: FILE *** in LIBRARY *** is in use. How should I go about to check who is using or unlock the file so I can clear the record?
Use WRKOBJLCK OBJ(library/file) OBJTYPE(*FILE)

End the job, then use WRKOBJLCK again to verify that there are no locks for the specified object.

This was first published in April 2008

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close