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




Thanks

I don't see EVAL in RPG/400 manual ... is that in RPG/ILE or SQL/400
embedded in RPG? I saw in that manual that if there are variable length
fields, RPG treats them as fixed ... I continue the struggle.

The necessary fields & constants input from our data base are fixed lengths:
5 8 8 15 15 5 3 15 15 11 11 13 11 6 15
Some alpha some numeric, most after "translation" (eliminate leading zeros,
trailing blanks, insert decimal point, minus sign, append comma) will be
shorter, with different transactions getting different resulting widths for
same files (quantity, price, etc.) that need to be appended to the end of
previously translated collection whose aggregate length will only be known
as we go along at execution time. So to keep track of that is aggregate
lengths of so far & I am unsure yet how to do the appending.

Perhaps I shall put the whole thing in an array of 170 elements of one byte
each, where each result is appended one byte at a time, by overlaying what I
get in translation overlaying data structure of a 17 byte array of the
latest translated field.
-
Al Mac


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.