Is there any way to restrict the enter key on the display file like other function key. Ex If you did't configure F1 key the Display file If will not allow you to Access that key while doing the Exfmt.
Software/Hardware used:
ASKED:
July 1, 2009 3:05 PM
UPDATED:
July 3, 2009 2:39 PM
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.