The job's library list is changed to match what's in that environment variable. Look through the archives, read the IBM docs. It's explained pretty well.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Terry Anderson
Sent: Wednesday, January 30, 2008 4: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.



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.