×
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.
The
program is using a named activation group and everything is running
within
the same job, so I am not sure why the file would be closed. Any idea
why
I would open this file, and then when call a procedure with in the same
program, it tells me the file is closed?
You said that the program is using a named AG but don't specify whether the
procedure is in the same AG. If not, then the open has not taken place in
the "appropriate" AG from this procedure's standpoint.
If you want to share the OPEN, there are a few ways to do this: passing a
file pointer, OVRDBF at the *JOB level, et cetera. If you're not interested
in sharing the ODP you can use:
If Not %OPEN(SOMEFILE) ;
OPEN(E) SOMEFILE ;
IF %ERROR ;
// Do something
EndIF ;
EndIF ;
I hope that helps.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"If an animal does something, we call it instinct; if we do the same thing
for the same reason, we call it intelligence."
-- Will Cuppy
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.