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