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


  • Subject: Re: Removing Object Locks
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Thu, 20 Jul 2000 10:55:18 -0500 (CDT)


An object lock just means that another program/job is using that object.
What you probably want to do is wrkobjlck to find out whats using it,
and ask those people to exit that program.

an "automatic" method would require you to have a way to tell each of
those programs/jobs that you need the object, and having them release
their locks.  To "force" those locks to me removed would be dangerous,
since the programs would end abnormally, and could potentially be in
the middle of updating something.

Of course, if you really want an automated way of removing locks,
you could always use the ENDSYS command :)



On Thu, 20 Jul 2000, a b wrote:

> Is there a way to automate the removal of all object
> locks from a file?   
> 
> For example, if I have an application that needs to
> run... prior to it's execution... I'd like to check
> for object locks and remove them.
> 
> Any help would greatly be appreciated.
> 
> Thanks
> 

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.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.