× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi, Elonna:

There are also some open-source tools that might do what you want ...

I did a google search for "os/400 QWCLOBJL" (without quotes) and (eventually) found this:

http://www.jcrcmds.com/index.html#JCROLCK_tag


Also, if you have TAATOOLS installed, (in the words of the late, great Al Barsa), "There's a TAA Tool for that." See:

http://taatool.com/document/L_dspobjlck.htm
and
http://taatool.com/document/L_sndobjlckm.htm


HTH,

Mark S. Waterbury

> On 3/22/2013 1:26 PM, EThompson@xxxxxxxxxxxxx wrote:

Sorry, this may be a silly question...I have searched the lists here and
also Googled looking for an answer without much success.

I am wondering if there is a way to access the attributes for WRKOBJLCK
directly or do I have to output results to a spool file then copy to
physical file to parse it?

What I am trying to do (just in case anyone knows of a better way to handle
it) is figure out if a particular file has a lock on it. If so, send break
message to the user warning them they have a set amount of time to exit the
system.
If they have not signed off in the set amount of time, then I want to end
their job.

Thank you for any input you might have.




Elonna Thompson
Sr. Programmer/Analyst
Phone: (859) 342-1713 Fax:



www.mazakusa.com




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