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



Doug:

If the files are only needed by the person running the job, couldn't you 
just create them in qtemp?

Steve Jones



"Douglas W. Palme" <dpalme@xxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/16/2005 10:46 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG Group" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Question and a Holiday thanks to Everyone






First let me extend a warm holiday thanks to everyone on the list, from 
Bob 
Cozzi, to Scott Klement and all the rest of you; I have learned far more 
in 
the past year than I could have possibly imagined.  I know at times that I 

have asked some stupid questions and a few of you have even told me so :) 
However, I am far better at what I do because of this list and each of you 

have contributed more than your fair share.

May all of you have a happy and joyous holiday season, whether you are 
celebrating Christmas, Chanukah, or the myriad of other celebrations that 
occur at this time of year.

Now, onto my question.  I have several programs that create temp files for 

purposes of migrating and mining data.  Although I do not see it happening 

very often, there is the possiblity that two users could inavertently run 
into each other.  Is there an easy way for me to do the following:

1. Determine if there is a record lock currently applied to a file and if 
so, who has that lock.

2. Lock a file so that nobody else can make changes to it while the 
program
(s) is running.

I have not worked with file locks to this point so any helpful suggestions 

would be appreciated.

Douglas


If you bought it, it was hauled by a truck - somewhere, sometime.


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.