Message . . . . : OPEN was issued to opened file &7.
Cause . . . . . : RPG procedure &1 in program &3/&2 attempted to open file
&7 which was already open.
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
[/tt]
For future reference, next time you get a run-time error in an RPGLE program, this is (I'm assuming) what Mercury2 did:
Code:
DSPMSGD RANGE(RNX1215) MSGF(QRNXMSG)
If it's a system message, and not a compiler message, leave off the MSGF parameter; it will default to QCPFMSG.
When I get a run-time error, I will answer with a 'D'; the dump listing that's created will tell me the state of the program (and the values of any variables) at the time the error happens.
-- Francis I'd like to change the world, but I can't find the source code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.