|
DependsAgreed. For this situation, I usually just overlay the DS itself.
on what you're after (you lose some flexibility) but you might like:
d othGL 7p 0 DIM(30) Overlay(dsothr: 57)
d othGL_alpha 4 Dim(30) Overlay(dsothr: 57)
"*RNF3733 An array cannot overlay another array; keyword OVERLAY is
ignored."
BTW, I am using a DS for input:
ddsothr ds
d othTicket# 1 7s 0
d othDate 8 13s 0
d othCust# 14 18s 0
d othTotal 19 25s 2
d othComment 26 50
d othNSF 51 51
d othGroup# 52 56s 0
d othGL 7p 0 DIM(30)
Then create a 120 alpha field, and have both arrays overlay THAT.
...or overlay the data structure itself in starting in position 47.
...or use from/to notation.
...or use pointers.
Hardly a show-stopper.
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.