Splat
1260 pts. | Jul 3 2009 2:39PM GMT
Another option would be to use the attention indicator byte (pos. 369 - 369 (character) in the workstation INFDS) to determine the function key pressed. Enter is defined as x’F1′ - look for that and disallow any processing. This would let you keep other function keys on the screen active. You can even check for Auto-Enter, x’3F’
I like the attention indicator byte - I haven’t bothered attaching an indicator to a function key in ages. I just compare the field defined on the INFDS to pre-defined constants. You can find the definitions of the returned values here.






