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



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.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Naughton
Sent: Tuesday, July 20, 2010 9:36 AM
To: Midrange Systems Technical Discussion
Subject: Re: Calling Stored Procedures from WonderWare InTouch

Yes. Here's the SQL that I use to create the stored procedure:

create procedure BPCSO/SFC320TW2P
( In VARCHAR ( 1),
In VARCHAR ( 6),
In VARCHAR (10)
)
language rpgle
parameter style general
not deterministic
contains SQL
result sets 1
external name 'BPCSO/SFC320TWS(SFC320TW2)'

Again, it works fine if I call it from Run SQL in iSeries Navigator, and it also works fine if I call it with LotusScript in Domino; it just doesn't work when I try iut from WonderWare ...

Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> writes:
Are you using parameter style general?


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.

This thread ...

Follow-Ups:
Replies:

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.