× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Il 06/12/2010 16.18, Gqcy ha scritto:
Thanks to all who replied.
This is what I wound up doing:

* QtyArr s like(TAW01) Dim(54) Based(ptQty)
D Weekly_Bkts E DS ExtName(OTA)
D QtyArr Overlay(Weekly_Bkts:29)
D like(TAW01) Dim(54)

This will work better, and won't need you to manually calculate initial position for array:

d Weekly_Bkts E DS ExtName(OTA) Inz
d ptQty s * Inz(%Addr(TAW01))
d QtyArr like(TAW01) Dim(54) Based(ptQty)

Nota that, if you missed the INZ keyword, fields in RPG memory seems to be ordered by their name. So matching them correctly requires luck...




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.