× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We've recently installed 7.1 (jumped over 6.1) and now I have choices. I've created a service program with two subprocedures, each accessing a different file. As was previously my custom, the F specs are global, before the subprocedures, with usropn specified. The subprocedure will be called from batch, interactive and probably a web stored procedure so I don't want a bunch of file opens and closes (could be 1,000s when called from batch) happening automatically. I usually check for %open in the subprocedure and have the calling pgm call one last time to close *all files. Before starting I read a nice article in July, 2013 IBM Systems Mag by Jon and Susan (Thx!) that explained new methods of global and local file definitions and controlling opening and closing files.

Now I'm confused. Are there real advantages to local files defined perhaps with static over global files with usropn controlling opens/closes? Or is just a preference?

TIA
Jack

This email, including any documents, files, or previous email messages attached to it, has been sent from an email account of College Foundation Inc., (CFI) and may contain confidential, proprietary, or legally privileged information belonging to CFI. If you are not the intended recipient, any dissemination, distribution, or copying of this email or its attachments is strictly prohibited. If you have received this email in error, please immediately notify the sender by email and destroy the original email and any attachments.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.