Simulating device keys

STL provides a number of statements that simulate the operator pressing various keys. These device key statements are used primarily for simulated terminals interacting with full-screen applications.

The device key statements are listed alphabetically with other keyword statements in Reference to STL statements. Special purpose keys are available for the following display devices:
  • IBM 3270 Information Display System
  • IBM 5250 Display System
The device key statements and AID identifiers that can be used for each terminal are listed in Keys valid for particular devices. AID identifiers are discussed in Using the TRANSMIT statement.
There are several types of device key statements:
  • Keys to change screen attributes
  • Keys to edit text
  • Keys to move around the screen
  • Keys that perform other miscellaneous functions.
Reference to STL statements provides details about syntax for these statements, how they are used, and which devices they can be used with. The statements are listed here by their functions so that you will know which keys can be simulated.