VARPG

I have an array of 125 integers I am loading.  The first 25 integers I want
to have in a sub array, the second 25 integers I want in another subarray,
etc...

For example, integer # 27 I would like to refer to as either QtyOH(27) or
QtyOHN(2).  This is what I have tried (which didn't work):

     D                 DS
     D QtyOH                          5S 0 Dim(125)
     D  QtyOHS                        5S 0 Overlay(QtyOH)     Dim(25)
     D  QtyOHN                        5S 0 Overlay(QtyOH:26)  Dim(25)
     D  QtyOHM                        5S 0 Overlay(QtyOH:51)  Dim(25)
     D  QtyOHW                        5S 0 Overlay(QtyOH:76)  Dim(25)
     D  QtyOHWW                       5S 0 Overlay(QtyOH:101) Dim(25)

The first error I get for QtyOHS is:
RNV3732E Array keyword is not allowed with keyword OVERLAY; keyword is
ignored.

For each of the additional sub arrays I get that error and an additional
one:
RNV7303E Subfield QTYOHWW defined with keyword OVERLAY is too big;
specification ignored.

Do I have to do some trick with Based and pointers or something?

I tried searching the archives for array DIM Overlay but didn't see anything
too similar to this.

Regards,

Jim Langston



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.