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



Good Afternoon all,

    I have been converting an RPG II program that uses a compile time table
and have run into a problem the compiler doesn't like.  Her is the code and
the error message.

D SchoolCde S           3A   DIM(10) CTDATA PERRCD(1)
D SchoolNme S          17A   DIM(10) ALT(SchoolCde)

             IF %TLOOKUP(SCHCDE:SchoolCde:SchoolNme);
RNF0598: The third parameter SCHOOLNME for %TLOOKUPxx is not valid.
RNF0597: The second parameter for %TLOOKUPxx is not valid.
RNF5343: Array has too many omitted indexes; specification is ignored.
RNF5343: Array has too many omitted indexes; specification is ignored.


**CTDATA SchoolCde
030LDNVIL/PRYSVIL 01
170BUCKEYE CENTRAL02
390   NEW LONDON  03
396WESTERN RESERVE04
400 SOUTH CENTRAL 05
420   DANVILLE    06
471  WELLINGTON   07
700   PLYMOUTH    08
712   OBERLIN     09
904    NORWALK    10

I know that it has to be some dumb thing I am doing but I just can't figure
it out.
BTW this is V5R2 and WDSCi ver 5.1.2.2

Thanks
Bob Anderson
EDI Coordinator
Kent Sporting Goods Inc.
New London OH 44851
419-929-7021 x315
419-929-1380 FAX
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.280 / Virus Database: 265.1.0 - Release Date: 11/9/2004


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.