Q
Problem solve Get help with specific problems with your technologies, process and projects.

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.

Dig Deeper on Systems Management Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close