I have succeeded in getting the HANDLER keyword to work on a WORKSTN file (i.e. a Display File) defined in an RPG IV program. As expected, my handler program is called on every RPG file operation (OPEN, EXFMT, CLOSE, etc.) and can pass data to/from the program using the provided output and input buffers.
However, the program now ONLY works with the handler and no longer as a typical interactive program which presents a user interface on the (5250?) terminal screen.
I wondered if there is any option such as (e.g.) HANDLER(*NONE) and/or a way to 'deactivate' the handler without re-compiling/re-creating the program. I thought the OVRDSPF command might provide a way to do this, but it doesn't as far as I can see.
Is there any way to do this?
(Thanks in advance)
However, the program now ONLY works with the handler and no longer as a typical interactive program which presents a user interface on the (5250?) terminal screen.
I wondered if there is any option such as (e.g.) HANDLER(*NONE) and/or a way to 'deactivate' the handler without re-compiling/re-creating the program. I thought the OVRDSPF command might provide a way to do this, but it doesn't as far as I can see.
Is there any way to do this?
(Thanks in advance)
Comment