| 
 | 
Array Element Offset (AEO) declares non-contiguous array elements.  Use it 
with DEF over another array.  Here's an example.  The third declaration has 
an array lower bound at 7.
dcl dd Date(2)    auto char(6) init("010295", "040599");
dcl dd Month(2)   def(Date) pos(1) char(2) aeo(6);
dcl dd Day(7:8)   def(Date) pos(3) char(2) aeo(6);
-- the value of Month(1) is "01"
-- the value of Month(2) is "04"
-- the value of Day(7) is "02"
-- the value of Day(8) is "05" 
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.