How do i populate a DSPF file using RPG ILE
Announcement
Collapse
No announcement yet.
Populating a DSPF
Collapse
X
-
Re: Populating a DSPF
Thalhayasir,
You just move all the fields from lets say a physical file, into the fields you have defined on your display file. Then you use EXFMT to show the screen. An EXFMT does both a write and then sits on the read opcode until someone presses a function key.
Here is an example of writting to a subfile.
Hope this helps
JamieAll my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
www.code400.com
Comment