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



HI Bill

Me too.
Wierd thing is I tried to save the generated SQL source to TOSRCFILE,
CRTSQLRPGI OBJ(MYLIB/MYPGM) SRCFILE(MYLIB/QRPGLESRC) SRCMBR(MYPGM)
OBJTYPE(*PGM) REPLACE(*YES) TOSRCFILE(MYLIB/QSQLSRC).
When I open the source generated by the SQL precompiler the outline
view STILL is not helpful.
I can see no obvious link between the generated SQL data structures
and the files and fields that are being updated. Reading the generated
code I cannot understand how the SQL APIs know what to process.
The SQL precompiler is my pet peeve.

I use the FIND ALL function to find SQL field usages, but it is a
kludge compared to the outline view.
Frank Kolmann

date: Wed, 21 Nov 2007 08:41:43 -0500
from: "Bill Barnes" <bbarnes@xxxxxxxxxxxxx>
subject: [WDSCI-L] Fields Used in SQL Statements
When I look at the outline view and choose fields the :fields only find
the D spec and not where they are used in an SQL program. I learned to
put indicator variables in my Fetch Into fields to reduce the number of
log entries. The outline view shows these as being defined but not
used. Is this a feature and I should just live with it, or am I the
only one to which this is happening?
Bill Barnes

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