Askt
265 pts. | Apr 6 2009 12:48PM GMT
i got below errors while call this program.
i checked in dspjoblog below errors i found. please advice
Cannot process subfile request for file WDRPIK in library NITCO.
Session or device error occurred in file WDRPIK.
Application error. RNX1255 unmonitored by XOP560 at statement 0000000249,
instruction X’0000′.
Gilly400
23625 pts. | Apr 6 2009 1:08PM GMT
Hi,
If you press help on each message you should see more information.
Regards,
Martin Gilbert.
Mcl
2500 pts. | Apr 6 2009 3:24PM GMT
A SFLSIZ(0002)
A SFLPAG(0001)
May have something to do with it. Depends on how you have written the RPG. SFLPAG of 0001 means you only have one subfile record on the screen. You might want to try increasing the size of the subfile and the size of the subfile page.
Regards
Mike
BigKat
2540 pts. | Apr 6 2009 4:58PM GMT
Since you are only showing one record at a time on the screen, this error probably means there were no subfile records created but the program didn’t check and attempted to display the subfile anyway. If that is not the case, as Martin said, your SFLRRN was probably either not set (i.e. 0) or was set greater than the number of subfile records generated.
Kevin C. Ketzler - Affiliated
Tjgm88
440 pts. | Apr 6 2009 10:50PM GMT
You might want to take a dump of the program when it crashes and look at the value in SFRRN. This might give a clue as to what the problem is.
Cheers.
Aceofdelts
400 pts. | Sep 16 2009 6:07PM GMT
Usually an empty subfile. Can also be an undefined numeric field (unlikely in your case - looks like you have a message subfile).
A good practice is to flag (or count) that you have something in your subfile. If empty then display an alternate screen that has no subfile (e.g. a combo prompt-plus-subfile blows up if sfl is empty so I test first and just do the prompt as a separate screen if sfl is empty).
Of course, I’m getting a similar halt today at the SFLCLR point. I’ll follow up with the cause of that once I get it resolved.
Aceofdelts
400 pts. | Sep 16 2009 6:18PM GMT
Aha ! My halt on the SFLCLR was because I was doing an EXFMT on the clear. This must be a Write.
So feasible that your pgm might be doing similar - an EXFMT to a message subfile would likely give this error.
Mike L.






