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



Hi Bradley,

It sounds very complicated to split things in Apache and CGIDEV2. What about
jobs, open files, open programs, joblogs etc? Does all users also share all
that? Is it not possible to return to the users browser with the job
"staying and waiting" for the next request to come back from the same user?



Regards,


Bent Ronne

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Bradley V. Stone
Sent: 30. januar 2008 23:48
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Question about QZSRCGI.

In my experience, the library commands in the config are worthless for the
type of environment you are looking for.

All applications I write now build the library list dynamically based on
certain criteria (which could be different from shop to shop). All files
are USROPN because of this. Just makes things a lot easier as far as
library list goes. A small library list set of functions is all you need
(and I think I even included them in one of my books).

The hard part is determining how to set the library list... in your case
you'd have to set it using the division code stored in a cookie or some
other method.

Another thing to think about on top of this, is setting up testing,
development and production environments as well. With it set up properly,
you can change library lists on the fly at any time instead of havingn to
change config files and stop and restart server instances.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Terry Anderson
Sent: Wednesday, January 30, 2008 3:56 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Question about QZSRCGI.


Matt,
I guess I'm not understanding. Isn't this an httpd.conf command? Even
If I add all 24 libs to the config, since I only have one QZSRCGI
instance, how do I get the CGI job to point to the correct libs for that
division?


I guess I could use an OVRDBF or an EXTFILE, based on the user
profile, in my RPG program. Is this what you are talking about?


Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Haas, Matt (CL
Tech Sv)
Sent: Wednesday, January 30, 2008 3:00 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Question about QZSRCGI.


You can set the library list for the various containers (i.e.
Location, VirtualHost, etc...) that allow you to specify
environment variables. Here's an example:

SetEnv QIBM_CGI_LIBRARY_LIST "LIB1;LIB2"

You can find more about this by looking through the archives or
looking at IBM's HTTP server documentation.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx
[mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Terry Anderson
Sent: Wednesday, January 30, 2008 3:53 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Question about QZSRCGI.

Greetings List,

I have an application using CGIDEV2 that will be used by multiple
divisions. Each division has its own set of data libs so in order
to read and write data to and from the i5 for that division, I
need to add two libs to the *LIBL.
Today while testing I signed on as division A. The QZSRCGI
instance started and the two libs were added. Then while still
signed on as division A, I signed on as division B.
When I checked the *LIBL of the QZSRCGI instance, I found that I
not only had the two libs for division A, I also had the two libs
for division B. Now I have division A data going into division B
files.

So, here is my question: Can each division have its own instance of
QZSRCGI?

This is using powered by apache on V5R4.


Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975


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


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


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


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

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.