|
On Mon, Sep 11, 2017 at 2:36 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:
It's not the CALL themselves that's the problem...I'm not precisely sure what has caused such a big drag on the I/O
performance. I noted in an earlier post that runtime execution path in the
service program entails:
2 procedure calls.
2 monitor, on-error blocks.
2-3 select blocks.
before an I/O op code is invoked.
The commit keyword on the "f" spec forces the service program to run under
commitment control, which may be a factor. I didn't force that in the other
program because reading a file front to back doesn't require commitment
control.
Can't tell for sure what it is without the code, but I'd suspectNo, the file is opened only once and never closed until the activation
- repeated opens
group ends. Look at the source code.
if not %open(cusmstf);
open cusmstf;
endif;
- ACTGRP(*NEW)No, the service program runs in the *caller activation group.
- data copyingYes, a factor, I think.
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.