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



Last week we had a discussion about using the "Overlay" keyword in a DS
in SQLRPGLE.  The consensus was that the SQL compiler team does not
currently support all the altest and greatest RPG stuff, so it wouldn't
surprise me if they don't support "Qualified" yet.

Just speculation...

Joel
http://www.rpgnext.com


On Tue, 2003-08-12 at 16:04, Wills, Mike N. (TC) wrote:
> 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.