update XRCREC ; // never happens, insures fields are 'brought-in'
Here's my take...
dcl-ds rcdXRCL likerec(<your rcd format> : *all);
dcl-s ptrXRLA pointer inz(%addr(rcdXRCL));
dcl-ds dsXRLA based(ptrXRLA);
arXRLA char(8) dim(3);
chain 039356 XRCL01 rcdXRCL;
Read the record into the DS. After the chain, arXRLA(<index>) is the
array representation of your file "buckets".
“No matter where you go, there you are...”.
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.
This thread ...
Re: Auto load an array when reading a record., (continued)
This mailing list archive is Copyright 1997-2019 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