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



So what you are saying is that if my host array in RPGLE is 
MyDivision(x).MyPlant(y).MyLocation(z) I may have to change it to some 
format like
exec sql fetch c1 into:.....;    where ..... may be a totally reformatted 
MyDivision(x).MyPlant(y).MyLocation(z)?
and then you'll take this reformatted variable and do something like
>C                   Z-ADD     -4            SQLER6
>C                   CALL      SQLROUTE
>C                   PARM                    SQLCA
>C                   PARM                    SQL_00006
>C     SQL_00009     IFEQ      '1'
>C                   EVAL      ...TotallyReformattedVariable... = 
SQL_00011

Won't that make it hard to find where the variable is used in the EXEC SQL 
if it won't match the format of the variable in the RPGLE?

Or were you thinking of getting the RPG compiler people to change the 
layout of subscripting arrays?

Or is the change simply in the C specs generated by the precompiler and 
you have to make sure that the generated RPG's
>C                   EVAL      ...TotallyReformattedVariable... = 
SQL_00011
matches some SQL standard?

Now I am really confused.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.