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



On Sun, Feb 24, 2013 at 4:56 PM, CRPence <CRPbottle@xxxxxxxxx> wrote:

The EVAL-CORR (Assign corresponding subfields) documentation suggests
that "When the source and target data structures or corresponding source
and target subfields which are both data structures are defined the same
way with LIKEDS or LIKEREC, that is, both data structures are defined
like the same data structure, the compiler will optimize the assignment
and assign the data structure as a whole, and not as a series of
individual subfield assignments." I do not think that operation would help.

Ah. So EVAL-CORR is the same as EVAL when the data structures are the
same? Lovely. So instead of giving the programmer the choice of how
to assign like-defined data structures, RPG forces the programmer to
do the subfield assignment the "long way round". Or deliberately
mangle one of the data structures so that they are not like-defined.

Instead of complaining or badmouthing, I will say again: Just avoid
defining varying subfields.

John

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.