Previous Topic: TRIM Return Codes

Next Topic: TYPE Return Codes

EPI TYPE—Simulate Typing

Use the TYPE command to simulate typing at a 3278 keyboard. If the value of the EPICMDLOGGING parameter is YES, EPI writes to OPSLOG any text sent to a virtual terminal through the TYPE command.

This command has the following format:

ADDRESS EPI "TYPE keywords"
  {termname|*}
  {text}
termname

Defines the terminal to which you are sending text.

text

Defines the text to send to the external product associated with this virtual terminal. This text combines literal text enclosed in single quotation marks (such as the text of a command) and the names of keys on the 3278 keyboard (such as Enter).

Note: For more information on using the TYPE command, see the User Guide and the Command and Function Reference.

Example: EPI TYPE

The following sends virtual terminal TERM1 a character sequence that moves the cursor to the first input field on the screen, erases its contents, enters the characters =X, and then issues the ENTER keystroke:

TYPE TERM1 !HOME!ERASE_EOF=X!ENTER