×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




You could try Carsten Flensburg's DSPIFSLCK program. This is an old link, hope it still wroks -- if not, try Google.
http://systeminetwork.com/article/club-tech-iseries-programming-tips-newsletter-43
http://www2.systeminetwork.com/noderesources/code/clubtechcode/DspIfsLck.zip


On 1/30/2013 8:06 AM, Gary Thompson wrote:
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.