|
For what it's worth, to overlay an array onto a set of fields in a file, like I use a technique that lets you overlay even packed fields, or whatever else. It works as long as they're contiguous in the record format. Say FileA has subfields Qty01, Qty02,...,Qty12. Code: D FileARecd DS Extname( FileA ) D Qpointer S * inz( %addr( Qty01 )) D Qty S 5p 0 dim( 12 ) based( Qpointer ) - Alan
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.