Hi,
I've read the entire thread on how to program a subfile with auto refresh.
Yet, I can't get my code to work. (Before I made these changes to accomodate the subfile auto refresh, my subfile worked fine.)
I have changed the DDS to include INVITE and WAITRCD(30). My RPG includes KNUM 1 and I no longer use EXFMT. I use WRITE with the subfile control record format. I use READ with the display file name. I can see that the STATUS code returned by the program data structure does indeed indicate a timeout (1331).
OK so far, except when the subfile is displayed it is blank. I've walked the code with the debugger and it appears recs are being written to the subfile control rec format, the subfile RRN is 4 after my load SF routine. (There are only 4 recs in the DB I am reading.)
Any idea why my SubFile does not display any records?
TIA,
Dave
I've read the entire thread on how to program a subfile with auto refresh.
Yet, I can't get my code to work. (Before I made these changes to accomodate the subfile auto refresh, my subfile worked fine.)
I have changed the DDS to include INVITE and WAITRCD(30). My RPG includes KNUM 1 and I no longer use EXFMT. I use WRITE with the subfile control record format. I use READ with the display file name. I can see that the STATUS code returned by the program data structure does indeed indicate a timeout (1331).
OK so far, except when the subfile is displayed it is blank. I've walked the code with the debugger and it appears recs are being written to the subfile control rec format, the subfile RRN is 4 after my load SF routine. (There are only 4 recs in the DB I am reading.)
Any idea why my SubFile does not display any records?
TIA,
Dave
Comment