×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




they will be unless they are referenced in the source.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                                
                                                                
                      fkany@averittexpre                                        
                                                                
                      ss.com                    To:       RPG400-L@xxxxxxxxxxxx 
                                                                
                      Sent by:                  cc:                             
                                                                
                      rpg400-l-bounces@m        Subject:  Fields are blank 
after %FOUND CHAIN                                                   
                      idrange.com                                               
                                                                
                                                                                
                                                                
                                                                                
                                                                
                      03/19/2004 10:19                                          
                                                                
                      AM                                                        
                                                                
                      Please respond to                                         
                                                                
                      RPG programming on                                        
                                                                
                      the AS400 /                                               
                                                                
                      iSeries                                                   
                                                                
                                                                                
                                                                
                                                                                
                                                                





Hello,

When in debug, I noticed that after the CHAIN operation below, the record
is %FOUND, but the file fields for SCIP are blank.
The field CACHED seems to be the only field that has a value.  All other
fields such as NAME, ITEM#, GROUP#, etc... are blank.
I ran a query on the file SCIP and noticed the record does exist and none
of the fields are blank.  Any ideas on what's happening?

Thanks,

Frank

0467.35                                 // Find Image File Name
0467.36                                 CHAIN ALSTGI SCIP;
0467.37
0467.38                                       // Found Image
0467.39                                       IF %FOUND(SCIP);
0467.40
0467.41                                          // Image IS Cached
0467.42                                          IF CACHED = 'Y';
0467.43                                             EXSR VSFTP;
0467.44                                          // Image NOT Cached
0467.45                                          ELSE;
0467.46                                          // EXSR VSGETITEM
0467.47                                          LEAVE;
0467.48                                          ENDIF; //IF CACHED = 'Y'
0467.49
0467.50                                        ENDIF; //IF %FOUND(SCIP)


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


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.