*INLR not on, but program record count incrementing
I am calling a program in debugg mode and writing a file e which is in o/p mode. While the program runs in debug mode that file doesn't show any record after write opcode also. It shows record after *INLR=On only. But if I call the program in normal mode, while it writes in the file I can see the record count is incrementing in that file despite the fact that *INLR is not on as the program is running.



Software/Hardware used:
AS/400
ASKED: March 31, 2010  8:46 PM
UPDATED: April 1, 2010  7:07 PM

Answer Wiki:
I'm guessing that "o/p mode" means "output mode". If not, please explain the term. Most likely, the output is sequential and blocked. Records probably wouldn't appear until a block is transferred. <i>...I can see the record count is incrementing in that file...</i> Without knowing what <i>record count</i> you're referring to, it's hard to respond to that. Tom
Last Wiki Answer Submitted:  March 31, 2010  11:41 pm  by  TomLiotta   110,135 pts.
All Answer Wiki Contributors:  TomLiotta   110,135 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Writes are blocked in RPG by default. You would have to reached the end of a block while in debug before you could see any results on the DSPJOB, Option14.

 1,130 pts.