Previous Topic: &MAIFIND

Next Topic: &MAIPUT


&MAIINKEY

Sets the attention key that is to be simulated in a generated data stream.

&MAIINKEY key

Sets the value of the attention key to be simulated when generating a data stream to be sent to the PLU (application).

Operands:

key

Substitute one of the following values to represent the key to be simulated:

ATTN

ATTN key

CLEAR

CLEAR key

ENTER

Enter key

PA1 to PA3

Program Attention Key 1 to 3

PF1 to PF24

Function key 1 to 24

Leading zeroes on function key values need not be specified.

Examples: &MAIINKEY

&MAIINKEY PF3

Notes:

&MAIINKEY is used to change the value of the key used to enter data at the terminal. If the script procedure receives data from the SLU and issues an &MAIINKEY before issuing &MAICONT PLU (or equivalent), the key used is changed in the data stream sent to the application.

&MAIINKEY defaults to ENTER when data from the PLU is received.

More information:

&MAICONT

&MAIREAD

&MAIDEL