TYPE


This command enters data into the virtual screen image maintained by an OSPI session.

Interacting-with-VTAM-applications-with-OSPI for more information about using this command and OSPI.


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:

  • TAB
  • BACKTAB
  • ERASEEOF
  • HOME
  • RESET

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.

/* REXX */
"IMFEXEC TYPE TAB TEXT('CATALOG') SESSION("OSISESS")"

CLIST example:

IMFEXEC TYPE TAB TEXT('CATALOG') SESSION(&OSISESS)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.3.01