|
"Carl Pitcher" <cpitcher@roadrunner.nf.net> wrote: > I am developing a program (V4R2) which needs to pass a fiscal year to > another program and return the 12 fiscal period ends which I would like to > define as an array. Since *ENTRY PLIST doesn't allow passing of array > elements or data structures, are there any suggestions as to how I can > implement this without passing 12 PARM fields for the dates and then moving > them to array elements on the return? I pass data structures in PLISTS. Example below picks up a whole record from a file with same layoout as OB data structure and it works OK. This is the old RPG III code (pre ILE). 0054.00 I* 0055.00 IOB E DS 0056.00 I* ORDER OPTIONS 0153.00 C *ENTRY PLIST 0154.00 C PARM @CMPNO 155 0157.00 C OB PARM @OB ____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.