Brian,

Thanks. I get the same result doing that as I did calling it from
Iseries Nav, which is an SQL -444 error saying it couldn't find the
Service Program SORDERAPI.

Any idea what I might be missing ? Is there a way to bind the stored
procedure to the service program that I didn't include in my Create
Procedure syntax ?

Greg

|-----Original Message-----
|From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
|bounces@xxxxxxxxxxxx] On Behalf Of Brian Johnson
|Sent: Monday, September 10, 2007 6:22 PM
|To: Midrange Systems Technical Discussion
|Subject: Re: Syntax for calling stored procedure
|
|Similarly, in RPG...
|
|exec sql call gnodgdf/getShortSKU ( :sSKU, :Cmpny, :Sld2, :Itm ) ;
|
|
|
|On 9/10/07, Alan Campin <Alan.Campin@xxxxxxxxxxxxxxxx> wrote:
|> <snip>
|> I got the message indicating that it was successfully created.
|>
|> Now the question. How do I call it ? Can I test this interactively
|> from STRSQL or Iseries Navigator RUNSQL Scripts ?
|>
|> What's the correct syntax ?
|> </snip>
|>
|> Use Run Sql Scripts in Ops Nav
|>
|> Call gnodgdf/getShortSKU ('SKU1', '001', '100', '3410')
|>
|>
|> --
|> This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
|list
|> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
|> To subscribe, unsubscribe, or change list options,
|> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
|> or email: MIDRANGE-L-request@xxxxxxxxxxxx
|> Before posting, please take a moment to review the archives
|> at http://archive.midrange.com/midrange-l.
|>
|>
|
|
|--
|Brian Johnson
|brian.johnson.mn@xxxxxxxxx
|--
|This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
|To post a message email: MIDRANGE-L@xxxxxxxxxxxx
|To subscribe, unsubscribe, or change list options,
|visit: http://lists.midrange.com/mailman/listinfo/midrange-l
|or email: MIDRANGE-L-request@xxxxxxxxxxxx
|Before posting, please take a moment to review the archives
|at http://archive.midrange.com/midrange-l.



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.