× 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'm running RDi version 9.5.1.1 (on V7.1). Yes, I know I'm behind but there are several reasons why I haven't upgraded: 1) it has been a very stable and reliable version for the type of programming that we were doing, and 2) most development is on hold as we convert to a different ERP system. That being said, I have written an SQLRPGLE program to extract data from one file. There are three routines in the program that all use SQL statements to create a table in QTEMP, change the column labels, and then inserts data into the table. The program compiles without errors and runs without errors. I opened it today to add another option to the program and noticed that the outline is blank. There is a yellow triangle with an exclamation point to the left of the line number, but I am unsure what it doesn't like since it compiles with a 00 highest severity. The SQL pre-compile list contains the following errors:

SQL5066 0 136 Precompile option NAMING changed by SET OPTION statement.
SQL5066 0 136 Precompile option COMMIT changed by SET OPTION statement.
SQL5066 0 136 Precompile option DATFMT changed by SET OPTION statement.
SQL5066 0 136 Precompile option CLOSQLCSR changed by SET OPTION statement.
SQL5066 0 136 Precompile option NAMING changed by SET OPTION statement.
SQL5066 0 136 Precompile option COMMIT changed by SET OPTION statement.
SQL5066 0 136 Precompile option DATFMT changed by SET OPTION statement.
SQL5066 0 136 Precompile option CLOSQLCSR changed by SET OPTION statement.
SQL1103 10 181 Position 30 Column definitions for table SOQTESUMF in QTEMP not found.
SQL0088 0 193 Position 14 DELETE applies to entire table.
SQL1103 10 193 Position 26 Column definitions for table SOQTESUMF in QTEMP not found.
SQL1103 10 197 Position 26 Column definitions for table SOQTESUMF in QTEMP not found.
SQL1103 10 300 Position 30 Column definitions for table SOQTECUSF in QTEMP not found.
SQL0088 0 313 Position 14 DELETE applies to entire table.
SQL1103 10 313 Position 26 Column definitions for table SOQTECUSF in QTEMP not found.
SQL1103 10 317 Position 26 Column definitions for table SOQTECUSF in QTEMP not found.
SQL1103 10 422 Position 30 Column definitions for table SOQTESGLF in QTEMP not found.
SQL0088 0 436 Position 14 DELETE applies to entire table.
SQL1103 10 436 Position 26 Column definitions for table SOQTESGLF in QTEMP not found.
SQL1103 10 441 Position 26 Column definitions for table SOQTESGLF in QTEMP not found.

The lines of code in the area where the triangle appears are (the triangle is on the second Exec Sql statement):
// Delete records from table in case it already existed
Exec Sql
Delete from qtemp/soqtecusf;

// Populate the file
Exec Sql
insert into qtemp/soqtecusf

Not sure where to go from here.


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.