Elonna,

Look at the QWCRLCKI api.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of EThompson@xxxxxxxxxxxxx
Sent: Friday, March 22, 2013 10:27 AM
To: midrange-l@xxxxxxxxxxxx
Subject: WRKOBJLCK Attributes



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

Follow-Ups:
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.