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



To all,

I have a program that is very simple. It just performs a SQL delete
without any other input, files, fields, etc.



When I attempt to compile the program I get the below errors...



C Z-ADD 4 SQLER6
SQL

RNF7044: The field SQLER6 on the C specification is not numeric; the
specification is ignored.

RNF7030: The name or indicator SQLER6 is not defined.

C CALL SQLROUTE
SQL

RNF7030: The name or indicator SQLROUTE is not defined.

C PARM SQLCA
SQL

RNF7030: The name or indicator SQLCA is not defined.



If you take a look at the original source that there are no extra lines
between the first copy book and the /Free directive. However, looking
through the pre-processor code I noticed that all of the SQLCA was
embedded between the HSPECLE /ELSE -> /ENDIF directives.



If I add one line between the copy book and the /Free directive the
program compiles correctly.



Anyone think this is a bug or a feature?





Original source => http://code.midrange.com/47d375d7c6.html

Pre-processed source => http://code.midrange.com/1a2a0cc1f2.html

h-spec copy book => http://code.midrange.com/efb38dc765.html





Thanks, Matt


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.