×
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.
Take a look at the List Object Lock API. It can give you a list of the jobs that have locked the file. You can then go through the list and end the jobs or send a message to that user or send a break message to that device(job).
Maybe you could Google and find some code out there that might already do that.
Thanks,
Paul Morgan
Principal Programmer Analyst
IT Supply Chain/Replenishment
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Shaheen Ahmed
Sent: Friday, July 01, 2011 1:22 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: In a CL program how can I check who is locking the file and sendmessage to the user to unlock the file.
Do somebody have a solution for the following.
In a CLP program I got an error when executing CLRPFM MyLib/MyFile
command. This is due to the file lock by the user. I need to send a
message to the users who is locking this file. The CLP program should
keep retrying this command for 5 times then kill the job of the users if
they don't release the lock.
Thanks
As an Amazon Associate we earn from qualifying purchases.
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.