Indicates the value of the key used to enter data.
Returns the value of the key used to enter data when a data stream is received from the SLU (terminal), as follows:
the ATTN key
the CLEAR key
operator ID card
the Enter key
magnetic card
no AID generated
Program Attention Key 1 to 3
Program Function Key 1 to 24
test request
selector pen attention
inbound structured field
trigger action
Example: &MAIINKEY
&IF &MAIINKEY = PF3 &THEN &GOTO .END
Notes:
When used to test the key used to enter data, an &MAIINKEY returns a null value if there is no outstanding data. Data is outstanding from the time an &MAIREAD is satisfied until an &MAICONT, &MAIDEL or another &MAIREAD is issued.
&MAIINKEY is sensitive to the setting of the &CONTROL PFKMAP option.
If &CONTROL PFKMAP is in effect, F3 to F24 are mapped into F1 to F12. For example, receipt of PF13 results in &MAIINKEY being set to a value of PF1.
| Copyright © 2009 CA. All rights reserved. |
|