Hi Don.
Have you tried an IPL?
Best Regards,
Peter_Lunde@xxxxxxxxxxx
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, January 08, 2026 03:02
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Don Brown <dbrown@xxxxxxxxxxxxxxxx>
Subject: IFS Locked
Hi Team,
System is V7R5 and PTF's last applied in October 2025
I had an error this afternoon where a programs that use the IFS were all failing.
As an example I could create a directory in the root Eg crtdir '/atest' and this succeeded.
But if I tried to create a directory Eg crtdir '/homr/atest' this would fail CPFA09E Object in use. Object is /home/atest.
I tried the following to try and find what was locking but all returned nothing.
SELECT * FROM TABLE(QSYS2.IFS_OBJECT_LOCK_INFO(PATH_NAME => '/home/'));
SELECT *
FROM QSYS2.OBJECT_LOCK_INFO
WHERE OBJECT_NAME = '/home/'
-- AND OBJECT_TYPE = '*DIR' I tried with this line and without it
;
I found a couple of jobs that were suspicious and cancelled them and thought the problem was solved but then the problem was encountered further down the path Eg /home/pdf/invoices was locked
Can someone advise how I could check what was locking the directory or path please.
Thank you for any suggestions
Don Brown
Brisbane - Sydney - Melbourne
Don Brown
Senior Consultant
P: 1300 088 400
DISCLAIMER. Before opening any attachments, check them for viruses and defects. This email and its attachments may contain confidential information. If you are not the intended recipient, please do not read, distribute or copy this email or its attachments but notify sender and delete it. Any views expressed in this email are those of the individual sender
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.