Loyd,

Sorry that I misunderstood.

If I understand CGI correctly (and I still have quite a bit to learn), the
CGI programs run in a batch mode and are not counted as interactive - i.e.
5250. Therefore, if I overcome my problems with activation groups, the
program MAIN will be running as a never ending program, as will RPP, and
this will have been possible with only minimal coding changes. I just hope
that I can solve the problem this way.

Many thanks again,

Rob

2009/1/6 <lgoodbar@xxxxxxxxxxxxxx>

Rob,

I did not mean that a new MAIN batch submitted job occurs on each
request. I apologize if it came across like that.

Rather, can MAIN be a never-ending-program (running in a batch
subsystem) that could field requests from RPP? This is the approach Dr.
Syd talked about. Program initiation would only occur once (per batch
submission) and after that you should only need to worry about
initializing the incoming parameters and work variables. Depending how
they were put into the D specs (individually or under a data structure)
would be a matter of calling a clear subroutine or clear the data
structure (IMO).

--Loyd

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Rob Dixon
Sent: Tuesday, January 06, 2009 10:48 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Persistent CGIDEV2 problem

Trouble is that I guess that this would be very slow as the MAIN program
would have to be initialised every time. Very large quantities of
parameters are passed on the call to MAIN. This could be done another
way
but it would be quite a lot of work and I would only do this as a very
last
resort.

Rob

2009/1/6 <lgoodbar@xxxxxxxxxxxxxx>

Can the MAIN program be a submitted batch job that provides service
requests?


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.