× 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.



If you can guarantee that no one will ever change the file that will
make them become non contiguous:

D allowances s dim(5) based(allowances_p)
D like(allowance1)
D allowances_p s * inz(%addr(allowance1))


"sjl" <sjl_abc@xxxxxxxxxxx> wrote in message
news:<mailman.33769.1299870570.2702.rpg400-l@xxxxxxxxxxxx>...
Sorry -

I did not correctly define my problem.

FileX has more than just allowance amount fields, but within it there
are 5
contiguous fields containing the allowance amount. Because of this, I
can't
define the allowance array to override the entire FileX record...

For example, FileX has the following fields:

OrderNbr
ItemNbr
Price
Allowance1
Allowance2
Allowance3
Allowance4
Allowance5

Now how do I do it?

- sjl


Mark wrote:

dsfileX ds likerec( Irecx : *Output )
D FieldArray Like( PackedField )
D Dim( 5 ) Overlay( SFileX )

should do the trick.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.