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
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 ?