All you need to do is to specify the exported variables as EXTERNAL in both
caller and callee.  If this isn't what you want, and you have RETURN working
I'm afraid you're going to have to be more explicit about what you are
trying to do and/or what is not working with your current approach.

Jon Paris

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx]On Behalf Of John Brandt Sr.
Sent: Wednesday, March 03, 2004 12:35 PM
To: 'COBOL Programming on the iSeries/AS400'
Subject: RE: [COBOL400-L] Shared variables in service program

I'm calling a procedure in a service program that loads exported variables.
I need to know the value of these variables before and after my call. My
call RETURNING works just fine.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.