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



I have resolved a lot of SQL errors today, but two of them won't go away.

The precompile listing says:
   458        C/EXEC SQL

   570        C/EXEC SQL

  
                                              DIAGNOSTIC MESSAGES

 MSG ID  SEV  RECORD  TEXT

 SQL0401  30     458  Position 17 Comparison operator = operands not

                      compatible.

 SQL0401  30     570  Position 17 Comparison operator = operands not

                      compatible.

I resolved and made two other errors go away, but these two stay.  I cannot
figure out what could be wrong with these statements. And I have looked
around them as well but no clues.

The strange thing is that if I compile interactively and then try to compile
the source member from QTEMP/QSQLTEMP1, where the pre-compiler puts the
temporary source, there is no problem compiling -- I get a program object
and a good  RPG compile listing.

I even tried signing off CODE and the AS/400 and signing back on but no
help.

Maybe it will fix itself over the weekend.  Or one of the smart people on
one of the lists will have a suggestion.

Thanks in advance, 

Dave  Boettcher
David P. Boettcher CCP
Senior Systems Analyst and Coordinator
IBM Certified Specialist - RPG IV Developer
Kenosha County Information Services
Kenosha, WI   53140-3747
* e-mail: dboettch@xxxxxxxxxxxxxxxx

Anyone can make a mistake; only a fool insists on repeating it.



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.