|
I added the H spec and tested it out, but I received the same results.... "Bob Cozzi" <cozzi@xxxxxxxxx>@midrange.com on 03/19/2004 09:25:30 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> Sent by: rpg400-l-bounces+fkany=averittexpress.com@xxxxxxxxxxxx To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> cc: Subject: RE: Fields are blank after %FOUND CHAIN Try adding this statement to your H spec and recompile, let me know if it fixes the problem: H OPTION(*NODEBUGIO) Bob Cozzi -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of fkany@xxxxxxxxxxxxxxxxxx Sent: Friday, March 19, 2004 9:20 AM To: RPG400-L@xxxxxxxxxxxx Subject: Fields are blank after %FOUND CHAIN 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)
As an Amazon Associate we earn from qualifying purchases.
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.