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



Michael,
Basically I am doing exactly what you are talking about. My problem is I
only have one QZSRCGI job active and I have several people using it at
the same time.

I am extremely new to CGIDEV2 and web programming, so it could be that I
am doing something wrong in my programs and the CGI instance thinks that
it is finished and lets someone else in.

I will try Scott's suggestion and see what happens.


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
Michael_Schutte@xxxxxxxxxxxx
Sent: Wednesday, January 30, 2008 4:11 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Question about QZSRCGI.


We don't assign to just one person. If the first job of
QZSRCGI is busy,
another instance is started. But I think I see your
problem. When it's
not busy, the following users are seeing the previous users
library list.

What we've done... created a file that contains nothing but
library list. So I have a library list ID with a list of
libraries attached to that ID. These library lists are
assigned to the web programs by the menu-ing
system. So when a web program is called, the web program
will call a
subprogram that will

first... save the existing library list (before anything
occurs so that it can be restored after the web program
ends). second... get the library list assigned to the web
program. third... execute the chglibl command to set the
library list exactly as needed for the program.

at this point, we'll return back to the web program
(passing back the
saved library list before anything occurred) and open our
files. At the
end of the web program we call the same subprogram telling
it to restore the library list back to the way it was before
this web program executed.

So it sounds like to me... this is a route you might like to go....

You'll just need to assign library list to the user.


Michael Schutte
Admin Professional
Bob Evans Farms, Inc.
"The Secret's the Sauce! Enjoy our new Bob-B-Q Pulled Pork
Knife & Fork Sandwich!"


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.