Sounds like buffering records (like 100) or so into 31-bit memory in
AMODE 31 and then looping on the load in AMODE64 could improve things.
On 2015-05-05 11:35, Brite wrote:
The program is mainly in AMODE 31. It switches to AMODE 64 using SAM64 only
when need to use the table in storage above 2GB and switches back after. Can
this explain why I only notice significant delay during initial load? It loads
a table of 200,000 records from QSAM file to the memory. It switches AMODE back
and forth at least 3 times for each record.