|
Darnit Hans, I thought I was going to get to write up my first PMR :) btw Hans, can YOU think of a reason to use a MODS rather than the techniques below? thx, rick -----original message-------- Richard B Baird wrote: > Eric, > > I just thought of one thing that a mods might have over the ds array > thingy: externally described ds support > > D $Record E DS extname(filename) > D occurs(5) > > now, on the other hand could we do something like this?: > > D $Record E DS extname(filename) > D Dim(5) > > which would?/could? effectively make each field in the data structure an > array. pretty sure it doesn't work that way - but one can only wish. With one small modification, the latter does indeed work in V5R2. The only extra thing you need is keyword QUALIFIED on the DS definition. Then, you access subfields as "RECORD(X).SUBF". Cheers! Hans
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.