|
The technique I prefer is to design a data structure that contains the fields that are commonly needed across an application and then create an externally described data structure that includes them. Then, any changes in parms need be made in one place only. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 10/27/05 10:53:45 To: RPG programming on the AS400 / iSeries Subject: Re: Passing Parms I also have much better luck with data structures. I have a couple of programs similar to yours and in those I passed one long string containing all 4 values. In the sender I lump all 4 into on char variable and in the receiving program I use %SUBST to get each individual item, if it then needs to be numeric on that side I just use MOVE. Dave Reiher System Analyst Prairie Farms Dairy - Corporate dreiher@xxxxxxxxxxxxxxxx
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.