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



V5R2 does not support qualified data structures in SQL.

I am given to believe that SQL has a lot of these little limitations that 
are subject to change in the not too distant future.  However, if you 
can't find the problem here:
http://www-912.ibm.com/n_dir/nas4apar.nsf/nas4aparhome
Then I would still open up a ticket on it.  I couldn't find this 
particular problem, but perhaps I was searching wrong.

If you don't like the answer on the ticket then I would submit a Design 
Change Request.
http://faq.midrange.com/index.pl?_highlightWords=dcr&file=189

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 





"Wills, Mike N. (TC)" <MNWills@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces+rob=dekko.com@xxxxxxxxxxxx
08/12/2003 03:04 PM
Please respond to RPG programming on the AS400 / iSeries
 
        To:     "'RPG programming on the AS400 / iSeries'" 
<rpg400-l@xxxxxxxxxxxx>
        cc: 
        Fax to: 
        Subject:        Another SQL issue


Well, I don't know if I am doing something wrong or not, but now I get
compiler errors because SQL isn't using the qualified data structure field
names I have in my program. Is this a issue or am I doing it wrong?

I have:
       // SQL Fields
     D InvCountDS      DS            44    Qualified
     D  CompanyName                  30 
     D  CompanyNum                    4  0
     D  POInvFlag                     1
     D  Count                         9  0

     D POCountDS       DS            43    Qualified
     D  CompanyName                  30
     D  CompanyNum                    4  0
     D  Count                         9  0

SQL puts in:

C*Exec SQL 
C* FETCH POCOUNT INTO :PoCountDS 
C*End-Exec 
C                   Z-ADD     -4            SQLER6 
C                   CALL      'QSQROUTE' 
C                   PARM                    SQLCA 
C                   PARM                    SQL_00035 
C     SQL_00038     IFEQ      '1' 
C                   EVAL      COMPANYNAME = SQL_00040 
C                   EVAL      COMPANYNUM = SQL_00041 
C                   EVAL      COUNT = SQL_00042 
C                   END 
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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.