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



There is a discussion on this in the archives. I think the answer is no using *NOPASS but I think there was a solution that allows you to do the same thing.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael_Schutte@xxxxxxxxxxxx
Sent: Thursday, September 11, 2008 10:37 AM
To: RPG programming on the AS400 / iSeries
Subject: SQL procedure calling RPG procedure with optional *NOPASS parms



I have an existing service program that contains a procedure where the last
four parms are optional *NOPASS.

I know how to create the SQL wrapper to call the procedure but I was
wondering if there was a way to make the last four parms optional in the
sql procedure and only pass them to the RPG when the SQL receives them. Or
should I just go ahead and pass all fields and not worry about the *NOPASS.




Michael Schutte
Admin Professional
Try all four Knife & Fork Sandwiches, starting at 5.99.
For more information, visit www.NoOrdinarySandwich.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.