|
>> I need some help (any would be thank) to fix a problem I have when writing into a file from 2 different subprograms called from the same main program on the same execution. There are a variety of things you could play with in terms of buffering, but I suspect they would have a negative impact on performance. Two options that I can think of. 1) Have a completely separate routine responsible for the file I/I that both of the existing programs call instead of doing their own IO 2) Designate the files as EXTERNAL which will cause the file to be opened to the run unit and all programs will be writing to the same buffer etc. Since I haven't time to test this, this is theory only, but since it represents the smallest programming change is probably worth a try. Jon Paris Partner400
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.