i have display file which inputs a varibale say Var1....
This is updated in a PF. My problem is program is not updating this varibale in this file. it updates all other varibales...i checked the library list and evrythng is in place...
in PF, the field name is Var1. i use the same name for DSPF - Var1...
so in the program i dont have move statement..i simply update the file...cud this be the reason???
Software/Hardware used:
AS400 - RPG
ASKED:
September 9, 2009 2:27 PM
UPDATED:
September 11, 2009 7:52 PM
yes.. exactly…
in debug mode i checked the value of var1 and it looks ok…after that it performs update…
one point here is this is the maintenance program var1 is the new field added to database PF…
and i’m modifying the existing program to just add this new variable….i checked the source code for
the newly added field and there appears to be no constraint added in the code for var1
i’m updating directly the PF
What happens if you do EVAL var1 just after the update? – it looks good too.
Thanks you all for your help…
I got my program running now…
-NG