I'm having a Friday afternoon senior moment. I'm thinking that I'm
missing a DDS keyword or something. I've got a promptable field in a
display file. I can press F4, the prompt window displays, and I select
the value. When I debug the RPG/Free code it shows that the variable has

the selected value. The problem is that when the program loops back to
the EXFMT statement the new value isn't in the field. Instead, it has
the
default of zero. If I hit ENTER or a function key the zero is put into
the variable. Other than that, the screen looks just fine following the
prompt. I have the additional parameters set as:

Enhanced display . . . . . . . . *YES
Restore display . . . . . . . . *NO
Defer write . . . . . . . . . . *YES


Thoughts? We are at V5R4.

You haven't mentioned anything about the program that is executing the
display file and updating the data file. Are you using a
subprocedure/module or a standard RPG-400 or RPG-IV program?

Dick J. (AZ)

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