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




On 27-May-08, at 11:42 AM, Robert Munday wrote:

01 SL415RD-Linkage.
05 SL415RD_SSN Pic X(9).
05 SL415RD_Loan_Number Pic X(2).
05 SL415RD_Reporting_MDCY Pic X(8).

Robert - when you do it this way in COBOL you are only passing _one_ parameter which in RPG terms is a DS containing three fields. It doesn't matter whether the RPG were free or fixed, you'd have the same problems.

If the RPG program requires three parms then you must call it with three i.e.

Call "SL415RD" Using SL415RD_SSN, SL415RD_Loan_Number, ...

I have to assume that the parms are actually passed to your COBOL program from elsewhere and then you pass them on to the RPG? Otherwise you should be referencing Working Storage variables on the call - not items in Linkage.

Jon Paris

www.Partner400.com
www.SystemiDeveloper.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.