Dave: That message is issued for several reasons. Clearly, the 2nd parameter is a table, and so that can't be the reason. Check the definition of the search argument ARPA. The types of the first two arguments must be compatible. That is, ARPA must be of type character.

Cheers! Hans

Dave Boettcher wrote:
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 ]
If this doubles up, Sorry, but the first time doesn't seem to have come
through.


Can anyone tell me what is wrong with this code?
Tables are defined:

    D TABCFS          S              2    DIM(30) CTDATA PERRCD(1) ASCEND
    D TABSAC          S              3    DIM(30) ALT(TABCFS)

Lookup is here

    C                   IF        %TLOOKUP(ARPPA:TABCFS:TABSAC)
    C                   EVAL      VREL   = TABSAC

And I keep getting this  Verifier  message    for CODE 400 and compiler
message if I try compiling on our V5R1 machine.

RNF0597E The second parameter for %TLOOKUPxx is not valid.

The manual shows two values are possible
%TLOOKUP(arg : search-table {: alt-table})





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.