TYPE
Command | Parameters |
---|---|
TYPE | [TAB|BACKTAB|ERASEEOF|HOME|RESET] [ROW(Row)] [COL(Column)] [TEXT(Text)] SESSION(sessionIdentifier) |
The following table describes the parameters:
Parameter | Function | Notes |
---|---|---|
Keystroke | Local 3270 function key to type before entering the text | One of the following keys:
|
ROW | Screen row number at which to enter the data | Numeric value in the range: 1 - (minus) the maximum number of rows emulated by the current terminal type |
COL | Screen column number at which to enter the data | Numeric value in the range 1-80 |
TEXT | Text to be entered on the screen | 255 characters maximum length |
SESSION | Session identifier for session to reference | Returned through the LOGON command initially |
This command does not transmit any data to the host application. The TRANSMIT command passes the modified virtual screen buffer back to the application.
Condition codes are listed in the following table:
Value | Description |
---|---|
0 | Command responded before wait time expired. |
4 | Timeout occurred. |
8 | Session was not found. |
Example
This example command tabs to the next input field on the virtual screen before entering the text. The session addressed by this command is contained in the variable OSISESS.
"IMFEXEC TYPE TAB TEXT('CATALOG') SESSION("OSISESS")"
CLIST example: