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



Factor 1, Factor 2 and the Result field support so called "Simple Qualified
Names". A simple qualified name is defined as a data structure name and one
qualified subfield level. That is...
   Myds.subfield

All other qualified names are not considered simple. Therefore, 
  Myds.nestedDS.subfield
Is not simple, and therefore does not work. 
-Bob


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Lim Hock-Chai
Sent: Tuesday, May 11, 2004 2:35 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Compile error when using field in a subfield data structure 

I'm getting a compile error of 
"*RNF0623 20 a      002000  The qualified name is not specified correctly
for all the kfld in key1."

Any idea why key2 is working and key1 is not?

thanks.
----------------------------------------------------------------------------
-----------------------------

 *                                                        
D struc           DS                  qualified           
D  office                        3                        
D  ph                                 likeDS(phone)       
                                                          
D  phone          DS                  qualified           
D   area                         3  0                     
D   prf                          3  0                     
D   suf                          4  0                     
D   ext                          7  0                     
                                                          
 *                                                        
C                   eval      phone.area = struc.ph.area  
C                   eval      phone.prf = struc.ph.prf    
C                   eval      phone.suf = struc.ph.suf    
C                   eval      phone.ext = struc.ph.ext    
C                   eval      *inlr = *on                 
 *                                                        
C     key1          klist                                 
C                   kfld                    struc.Ph.area 
C                   kfld                    struc.Ph.prf 
C                   KFLD                    struc.Ph.suf 
C                   KFLD                    struc.Ph.ext 
                                                         
C     key2          klist                                
C                   kfld                    struc.Office 

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