|
Thanks Bob, Scott, Mike, and Mark. I used the field in the source and I
was able to see the value.
mwalter@xxxxxxxxxxxxxxx@midrange.com on 03/19/2004 09:26:21 AM
Please respond to RPG programming on the AS400 / iSeries
<rpg400-l@xxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
To: RPG programming on the AS400/iSeries <rpg400-l@xxxxxxxxxxxx>
cc:
Subject: Re: Fields are blank after %FOUND CHAIN
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)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.