Yep, that works, too. If you're into overkill, I think you can add the
proper value to both the openflag and mode parameters.

Roger Mackie

-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@xxxxxxxxxxxxxx]
Sent: Friday, August 29, 2003 14:58
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: IFS file in use


I sent this 10 minutes to soon.  I think I found the answer here
http://publib.boulder.ibm.com/pubs/html/as400/v4r5/ic2924/index.htm?info/api
s/open.htm, look for O_SHARE_NONE.



-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@xxxxxxxxxxxxxx]
Sent: Friday, August 29, 2003 2:32 PM
To: 'RPG400-L@xxxxxxxxxxxx'
Subject: IFS file in use


I am trying to lock an IFS file by opening it in one program (in debug) and
then seeing if I can open it in another program (in debug in separate
session). ...

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.