|
-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Mark S. Waterbury
In part, this will depend on how your "legacy" applications
and their menus were designed. If all originally OPM
(*DFTACTGRP), then it is likely that you may have had the
menus coded to issue RCLRSC upon return from lower levels.
This would in effect close all files opened at that call
level and below. You might want to reconsider that logic.
If a file is already open, then the path-length is somewhat
shorter for subsequent programs or modules opening the same
files, but there is still some overhead. At the machine
level, an OPEN costs around one-million instructions (more or
less). So, if your application is opening many, many files,
then closing them, and opening them again, this overhead will add up.
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.