All those things work fine with system naming. With SQL naming the library name is assumed to be that of the user profile if none is specified.
Thanks,
Todd
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: Monday, February 11, 2013 1:32 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] SQL naming + library list
Set the library list in the JDBC connection perhaps ?
Then you shouldn't have to qualify.
Or provide a default job description for the user ID being used for JDBC so it can set library list.
Based on that you theoretically should be able to call the sproc unqualified. I just don't trust unqualified in web apps :-)
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
----------------------------------------------------------------------
message: 1
date: Mon, 11 Feb 2013 13:55:30 +0000
from: "Allen, Todd" <Todd.Allen@xxxxxxxxxxxxxxxxx>
subject: Re: [WEB400] SQL naming + library list
The SPROC is called from a Java web app. The call is currently qualified as library.sproc. Leaving out the library defaults to the user profile name as the library. That is the expected behavior. However, I remember reading about a way around this by using an alias but cannot recall the details.
Thanks.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Richard Schoen
Sent: Saturday, February 09, 2013 5:38 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] SQL naming + library list
Hi Todd,
Are you trying to call the SP from .Net, PHP , Java ?
I would think as long as you set the default library list when connecting with the DB drivers, then you should be able to call a SP just be name.
With SQL naming you can also qualify it with LIB.PROCNAME.
Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
For More Than 80 Years—Delivering Solutions That Exceed Expectations.
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.