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



Just noticed something about this thread - I am also on the web400 one, have
an issue
that I believe you have answered for me.

I have a rather complex web site (CGI-RPG) working with V5R1 -

the programs do have usropns because of not knowing which lib
to use, this is based upon the user ID,

the file I override to seems to be getting left open on me for
the next web user (since these are not new jobs, and I have them
all in the same activation group, if I understand what is going on here
I need "this type" of web programs to have AG *new)

Let me ask this question then too,
what happens to the files and such in the "old" AG since the job itself
does not end and the "old" AG is not "destroyed"

TIA
Mark A. Manske

-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
Behalf Of John Taylor
Sent: Wednesday, March 06, 2002 9:24 AM
To: rpg400-l@midrange.com
Subject: Re: stand alone modules (no service program) and handling file
I/ O


Dean,

%Open is available in V4R4, but you may not want to bother with it if you're
relying on the AG to clean up resources. Just leave off the "USROPN" option
on your F-spec, and the file(s) will be implicitly opened upon program
activation. They will remain open until the AG is destroyed. Your example
would be a good candidate for the use of a *NEW AG.


Regards,

John Taylor

----- Original Message -----
From: "Dean Bathke" <dbathke@Quintrex.com>
To: <rpg400-l@midrange.com>
Sent: Wednesday, March 06, 2002 8:09 AM
Subject: RE: stand alone modules (no service program) and handling file I/ O


> I understand about the service programs especially for 'common modules' .
> For this purpose these modules are used only for a conversion program that
> is run one time only for new clients. They wont be in use by any other
> programs. I did read abit about the %Open syntax. How far back can I
compile
> programs that use the %Open ?
> Currently I have to compile at v4r4. In any case, Ill scour online for the
> %open info.
> Thanks alot.
>


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.