|
Well for one thing it requires copying of the data - which can often be avoided with a qualified DS. Second a qualified DS allows reference to the individual subfields. A giant field doesn't do that.
I don't understand why you are sending the data out twice to the display. If you use a LikeRec DS to hold the data and then use it in the result field for the Write you can Read into a different DS (or a different element of a DS array defined with LikeRec) that way there is no need to double the amount of data sent out and read back from the terminal. This is just the modern variant of the old MODS with EXTNAME approach.
Jon Paris
www.Partner400.com
www.SystemiDeveloper.com
On 3-Oct-09, at 1:00 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
Why not have just one data structure and then stand-alone fields that
are like the data structure?
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.