|
Hey guys, I appreciate all your feedbacks and candor.me
After Vern post last night, I ended giving up on the use of UDF, in my
CLI
statements (due to a deadline on Tuesday).
I am sure you guys are 100% accurate on the use of ServerUserId (not
changing the library list). As I had said,
we used to use alot of Net.Data with Direct-Calls to RPG programs, and
relied on ServerUserId when the application
was NOT password protected. We did this (instead of assigning the
QTMH*
job with job descriptions or library lists),
because our software is used companies with multiple environments, and
needed a library list established. And
ServerUserId appeared to tackle this need.
But, anyway, thanks again for the assistance. It's still strange to
that these UDF don't work.has
BUT, I can cross that bridge again, when I need to.
thanks again
David
David L. Mosley, Jr.
Technical Solutions Architect
Dancik International, Ltd.
2000 CentreGreen Way, Suite 250
Cary, NC 27513
www.dancik.com
Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
08/29/2010 01:21 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: RPG - CLI SQL problem. (Where's my stored functions)...
Hi David,
I'm afraid to say anything for fear that I might be wrong... I can't
pretend that I've mastered every aspect of Apache on IBM i. But, there
are some big discrepancies between my understanding and what you're
saying... Here's my understanding:
ServerUserId = UserID that the *server* runs under. Dft=QTMHHTTP
UserId = UserID that CGI programs run under. Dft=QTMHHTP1 can be set
to
a profile, or to special values %%CLIENT%% and %%SERVER%%
The QIBM_CGI_LIBRARY_LIST variable can be set to override the default
library list. You told me on 8/28 that you were setting this. If
that's the case, the values of the ServerUserId and UserId variables
are
utterly irrelevant, except from the perspective of whether the user
authority to what was specified in QIBM_CGI_LIBRARY_LIST.because
Even if I'm misunderstanding, and you're not really setting
QIBM_CGI_LIBRARY_LIST, the value of ServerUserId is irrelevant,
CGI programs don't run under ServerUserId. Only the server does!They
run under UserId -- though, ServerUserId would become relevant if theI
UserId is set to %%SERVER%% -- but that would be (IMHO) an extremely
weird configuration.
And finally -- and this is where I'm not confident of my knowledge --
don't _think_ it uses the library list from either the ServerUserId orlibrary
the UserId. I think those only establish the profiles, not the
list.more
But even if I'm wrong about that -- the odds that the ServerUserId is
impacting the library list seems extremely slim... Which makes me
think
you're following a red herring.
On 8/28/2010 12:23 PM, dmosley@xxxxxxxxxx wrote:
My understanding of the ServerUserId, is that the profile we have itbeing
changed to has alibrary
job description associated to it, which when changed, changes the
list. We have done
Net.Data stuff for years (years ago), and then from there merged
intomode,
Java/Web development..simple
So, I haven't had to do much Apache config, in a while, except for
JKMount, for java/war connections.confusing
I may be wrong about the ServerUserId, but it makes sense.
I'll try taking the ServerUserId attribute out, to see if it is
the server. Hopefully your right about that.
How I was debugging was that I'd put the QTMH* job in STRSRVJOB
then
STRDBG the program I was calling.--
Then flip to another session to see the library list.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.