|
Hi,
We have a program where same record of a 'control' file (input mode) is
being read for every iteration, and I thought that replacing the 'Chain'
with reading a dataarea.
So I ran a simple test to compare the time taken to read one record in file
100,000 times and reading a data area 100,000 times with 'IN' statement.
I was surprised that the file was read under 1 sec, whereas dataarea took
around 4-5 seconds.
Just to make sure, I looped for a million times. The file came in at 4
seconds and dataarea at 47 seconds.
I was wondering whether I am missing something or accessing a dataarea with
an 'IN' statement takes that long compared to file read.
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.