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



I have two commands RMVOBJLVK and RMVTABLCK that use api's to find objects
locks and could be modified to send a message if you want the code.


On Fri, Mar 22, 2013 at 12:23 PM, <rob@xxxxxxxxx> wrote:

That one might be better for her use

http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qwclobjl.htm?resultof=%22%51%57%43%4c%4f%42%4a%4c%22%20%22%71%77%63%6c%6f%62%6a%6c%22%20


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Mark S Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 03/22/2013 02:17 PM
Subject: Re: WRKOBJLCK Attributes
Sent by: midrange-l-bounces@xxxxxxxxxxxx



Hi,

I think you want to use the QWCLOBJL API.

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



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.