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



sjl wrote:
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?

How about something like:

D DS
D ORDERNBR 1 5S 0
D ITEMNBR 6 10S 0
D PRICE 11 15S 2
D ALLOWANCE1 16 20S 2
D ALLOWANCE2 21 25S 2
D ALLOWANCE3 26 30S 2
D ALLOWANCE4 31 35S 2
D ALLOWANCE5 36 40S 2
D ALLOWANCEA 16 40S 2 DIM(5)
C Z-ADD 123.45 ALLOWANCEA(2)
C ALLOWANCE2 DSPLY
C SETON LR

--
JHHL

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.