That is correct.  We have no problem with 'standard' libraries like
CGIDEV2, QSYS, QGPL, user libraries, etc.  Those are easily added to the
library list and we already have a little cl pgm that builds that
library list according to the environment entered.
It's the folders/directories that contain our cgi html code, xml files,
.csv files, txt files, etc that we need to look for in a selective
order...     
ex:  first look for and use the object in the 'dev' folders.. if not
found, then use the copy in the production folders. (for QA it would be
qa folders first and then production folders)... in other words... look
for and access an object in the same manner that using a library list
does. Look in the top library (path) first, and then in the second
library (path), etc.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Matt.Haas@xxxxxxxxxxx
Sent: Tuesday, February 20, 2007 10:40 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Library list for IFS folders?

That will change nothing with the root file system.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Eric Kempter
Sent: Tuesday, February 20, 2007 11:36 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Library list for IFS folders?

You can configure one library within your Apache configuration file:

SetEnv QIBM_CGI_LIBRARY_LIST "CGILIB"

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Charlie Ramsdale
Sent: Monday, February 19, 2007 9:27 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Library list for IFS folders?


We have one system that shares 3 environments - dev, QA and production,
each with its own copy of data files and possibly different versions of
programs depending on active dev and testing (we use Turnover to
promote). Accessing the correct copy or the production copy of a program
or file is easy with the library list.  When a user runs a pgm he'll hit
the dev or qa version (depending on liblist), if there is no dev or qa
version, then it will eventually find the production version.  Now we're
adding CGI development with the HTML code in the IFS folders and we've
abruptly discovered that we know of no 'library list' functionality with
objects in the IFS folders.  We obviously don't want to hard code paths
and maintaining a soft version of paths to all objects for the 3
environments seems ludicrous.  Is there a 'library list' style access
for IFS folders that we're not aware of or maybe some other method that
we as noobies need to be aware of before we go too far in our current
development?

 

Charlie

 

PS: We do have separate browser paths for the 3 environments so we know
which environ the user is running the program(s) from, but that limits
access to objects in that environment and it will not find an object in
the production environ when needed (unless the path is provided).


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.