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



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!"


web400-bounces@xxxxxxxxxxxx wrote on 01/30/2008 04:57:04 PM:

Michael,
Do you have users with the same file in different libs? If so, how do
you make sure that the data is written to the correct files?

Here, each division has a customer master called CUSTMAST. If I have
four different divisions signed on, and only one QZSRCGI instance, then
that means that everyone will be using the CUSTMAST file of the last
division that signed on.

After researching some of what others have said, it looks like I have
two options:

1.) Find out how to get each user to have their own QZSRCGI instance.
2.) Use the EXTFILE keyword and pass the libs as parms. I haven't tested
this so I'm not sure if it will work.




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.