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
As an Amazon Associate we earn from qualifying purchases.