I created a stored procedure from STRSQL like so:

CREATE PROCEDURE gnodgdf/getShortSKU(

OUT ShortSKU CHAR(7),

IN Company CHAR(3),

IN SoldTo CHAR(9),

IN Item CHAR(12))

LANGUAGE RPGLE

SPECIFIC GNODGDF/ORDERAPI_getShortSKU

NOT DETERMINISTIC

NO SQL

CALLED ON NULL INPUT

EXTERNAL NAME 'GNODGDF/SORDERAPI(ORDERAPI_GetShortSKU)'

PARAMETER STYLE GENERAL



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 ?

If not, what's the correct syntax using EXEC SQL in RPG (/Free) ?



Thanks



Greg Fleming

Senior Programmer/Analyst

Everglades Direct, Inc.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.