|
After a problem that prevented a file on our IFS from
being processed by an in-house app, we have been
looking at a better way to detect what we think was
the cause: a lock on the IFS file held by a windows app.
I don't see that System i Navigator shows locks ?
So far, this is what I have found as a way to get a list
of locks:
CALL QP0FPTOS PARM(*LSTOBJREF '/ifspath/ifsfile' *FORMAT2)
Apparently, this API returns a spool/print file as output,
but ideally I would like to detect this using the QP0L_SUBTREE
API - is this possible ?.
Or, because this involves a mapped drive, maybe I should look
at this from a Network File System perspective ?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.