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



No, Buck. It was created (CRTPF) with Share(*No).

None of the files on the system have Share(*Yes). Which means that, if these two programs had opened the file implicitly (i.e., not been defined as USROPN), both programs would have still opened the file (i.e., data path); just never see that since it's under the covers.

Thanks, Buck. I had never given much thought to files being opened (implicitly or explicitly) before.

* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Buck wrote:
Jerry Adams wrote:
I have two programs, running in the same activation group, that conditionally (i.e., if not %Open( ) ) open the same physical file. Program A calls Program B. Program A opens the file and goes along its merry way until it calls Program B. I had both programs in debug this morning and noticed that, even though Program A opened the file, so did Program B.

Is your file SHARE(*YES)?


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.