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




How are you passing the MODS between the modules? Parameters work by sharing memory across the programs. So as long as the correct memory address gets passed, you should not have problems.

Are you using prototypes to make the call? Or are you using CALLB? Did you remember to set the occurrence to 1 (so that you get the memory address of the starting element)?

Would it be possible to use an array of qual data structures instead of a MODS? This is generally easier to code. But if you need V5R1 or older compatibility, you may be stuck with MODS.

I'll never recommend import/export (I consider them to be a very bad practice).

---
Scott Klement  http://www.scottklement.com

On Tue, 14 Mar 2006, Jeff Young wrote:

I am attempting to pass a multi occurance ds as a parm between 2 modules.
 Module A defines the DS with OCCUR(15) and lists the sub fields.
 Module B defines the DS the same way.
 Module B loads data into the DS and returns to Module A.
 Module A shows all occurances after the first to be blank.

 Is there something special that needs to be done to make this work?
 Should I use Export / Import instead of parms?


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.