Is it possible to configure TPX to invoke an ACL program based solely on the depression of a PF or PA key?

Document ID : KB000051522
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Is it possible to configure TPX to invoke an ACL program based only on the depression of a PF or PA key, without using the command character and command key? Similar to the "hot key" process that is invoked when "jump", "menu", and "print" keys are assigned?

Solution:

Yes, the TPXUCMND exit can be coded to:

  • Check for the appropriate PF key (only for a certain session or always).

  • If found then issue a $COMMAND macro (explained in Programming Guide) for an "S aclname" command.

  • Then set the return code to 16 to discard the input and free the keyboard.