Mike,
I *think* that using SQL naming for an ODBC (JDBC) connection disables
the library list. Everything then implicitly qualifies to your default
schema.
Here's a forum thread that covers this...
http://www.code400.com/forum/showthread.php/8439-Changing-SQL-PATH-initi
ated-in-ODBC-settings?p=47875
-Eric
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Naughton
Sent: Tuesday, July 20, 2010 10:40 AM
To: Midrange Systems Technical Discussion
Subject: Re: Calling Stored Procedures from WonderWare InTouch
Hey Todd,
We always use *SQL, but that's because we have separate test and
production environments on the same box, and we like to be able to
switch back and forth, so the first thing our programs do is check a
parameter value and then set up the appropriate
library list based on its value. I tried checking Translate Binary, but
that didn't help ....
As I say, if I don't try to pass any parameters, the procedure runs
fine, and it writes to a log telling me that it's doing what I want it
to do. The problem is that trying to pass it parameters doesn't seem to
work ....
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> writes:
Mike,
It sounds to me that it might be a driver problem. I'm not familiar
with WonderWare, but I'm assuming you are using ODBC. Typically, when I
do this type of thing, I set the Naming to be *SYS and Translate Binary
to be true. If you have your Naming
set to *SQL and you have programs/tables in separate libraries, the app
may not be finding all of the necessary objects. I use the Translate
Binary because JDE uses CCSID 65535.
Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA 01376
413-676-3144
Internal: x 444
mnaughton@xxxxxxxxxxxx
****************************************
NOTICE: This e-mail and any files transmitted with it are confidential
and solely for the use of the intended recipient. If you are not the
intended recipient or the person responsible for delivering to the
intended recipient, be advised that any use is
strictly prohibited. If you have received this e-mail in error, please
notify us immediately by replying to it and then delete it from your
computer.
As an Amazon Associate we earn from qualifying purchases.