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



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Hi all,

Sorry to post this question here, but I believe a ton of you are coding ILE
RPG on your 400s. My question is, if I have a field in a file that has the
value of "acctno" and that is the name of a field in another file. Is it
possible to retrieve the value of acctno in the other file without something
stupid like:

        if field="acctno"
        eval fldvalue = acctno
        end if

I'd prefer something magical, like:
        eval fldvalue = %valueof(field)

but I've looked and unfortunately, %valueof() isn't something IBM has come
up with. It'd be cool though, huh?

Does anyone have any suggestions (short of "Don't post stupid questions
here")

Thanks,

Chris


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.