|
Scott Klement has a tutorial showing how to check for existence and permission to IFS files. Not sure if that will help you determine how to actually get a lock. http://www.scottklement.com/rpg/ifs_ebook/morecmds.html#ACCESS Or from the archives, another response from Scott: open() API with the O_SHARE_NONE flag will give you an "exclusive" lock on the file itself (as opposed to a lock on a range of bytes within the file) http://archive.midrange.com/midrange-l/200408/msg00124.html Regards, Jerry Gerald Kern - MIS Project Leader Lotus Notes/Domino Administrator IBM Certified RPG IV Developer The Toledo Clinic, Inc. 4235 Secor Road Toledo, OH 43623-4299 Phone 419-479-5535 gkern@xxxxxxxxxxxxxxxx This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please inform the sender by reply e-mail and destroy this and all copies of this message.
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.