I am working with 2 subfiles in the same screen, both have some options that call others programs. There is a function key F12 - cancel that should be return to the last screen after run these programs. The program is using command UPDATE LSTSFL (subfile name). It is working well for the first subfile but not for the second (Update or delete in file SBRPIQ003U without prior input operation). Somebody could help me please? URGENT
Software/Hardware used:
RPG ILE
ASKED:
September 28, 2010 2:35 PM
UPDATED:
September 30, 2010 7:13 AM
The program is using command UPDATE LSTSFL…
I have no idea what that means. Which program uses that command? Is it a “command” or is it the RPG UPDATE op-code? What is “LSTSFL”?
Tom
The program is using command UPDATE LSTSFL (subfile name).
It’s making a little more sense when I read it today. Is that the statement in the program that causes the I/O error?
If so, what was the last READ statement that ran in the program before the error?
If LSTSFL is the name of one of the subfiles, is that the same subfile that the READ statement ran against? Is there another UPDATE statement for the other subfile?
Tom