I have a program RPGLE which conditonally invokes a function key.
For instance:
If Screen A is opened then this RPG will have a function key F15 and if Screen B is opened this rpg will check if indicator is on and accordingly hide the functionality of this key.
I have been able to successfully implement this as well. But the issue now is the screen immediately exists out when this key F15 is hit from program B.
I would like to have the program throw up "operator input error occurred- X II" error that usually appears for wrong input or at the least have the screen be at the same position but not exit out.
The programs handles Enter key or any other key which has not been defined in program in a similar manner. i.e exists out of the screen. How to modify this to specifically handle the key under concern,F15
Please guide.
For instance:
If Screen A is opened then this RPG will have a function key F15 and if Screen B is opened this rpg will check if indicator is on and accordingly hide the functionality of this key.
I have been able to successfully implement this as well. But the issue now is the screen immediately exists out when this key F15 is hit from program B.
I would like to have the program throw up "operator input error occurred- X II" error that usually appears for wrong input or at the least have the screen be at the same position but not exit out.
The programs handles Enter key or any other key which has not been defined in program in a similar manner. i.e exists out of the screen. How to modify this to specifically handle the key under concern,F15
Please guide.
Comment