× 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.



File will be closed when activation group ends, and it's OK for me.
Marcin Drozdowski

-----Original Message-----
From: Andrew Lutz [mailto:alutz@pmigroup.com]
Sent: Thursday, March 07, 2002 8:49 PM
To: rpg400-l@midrange.com
Subject: Re: SRVPGM: USROPN file or not


Would you ever want to close the file?

If the answer is yes, then USROPN is the way to go.



Andrew Lutz
Database Administrator
(916) 851-7140
alutz@pmigroup.com


>>> marcin.drozdowski@big.pl 03/07/02 11:40AM >>>
Procedure in my SRVPGM is called frequently, both from batch (server)
and interactive jobs. RPGLE programs are running in named activation group.
IMHO it's good idea _not_ to declare files in SRVPGM with USROPN, but
compiler says: "Files should be closed explicitly when NOMAIN is
specified on the Control specification".
The message has severity 10 and SRVPGM is created.
Will it have any bad influences?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.