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



Hi Mike -

On Wed, 21 Nov 2012 14:42:54 -0500, "Michael Naughton"
<michael_naughton@xxxxxxxxxxxx> wrote:

I could add the user profile as a key to the work file, etc. -- but they all seem more involved than what I'm
doing now. Should I just figure "if it ain't broke, don't fix it", or is that likely to be short-sighted?

Is there now, or will there ever be in the future, *any* possibility
that the same user could be running multiple instances of the process
simultaneously?

If there is *any* possibility, I would opt for using a key in the
file. That way you can key on more than 10 bytes and could use some
kind of unique session identifier rather than just a user profile.

Note that you could also do something like this with a file name in
the IFS outside of /QSYS.LIB/, however if the current process doesn't
use the IFS at all, that would probably not be a good choice.

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

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.