Use the Get text
action to retrieve text from the terminal and store it in a string variable.
This action enables you to retrieve text from the last line, all lines, or a range of lines.
You can use this action with the TN3270E, TN5250E, ANSI,
and VT100 terminal types.
To retrieve text from the terminal, do the following:
Procedure
-
Double-click or drag the Get text action from the
Terminal Emulator node in the
Actions palette.
-
Enter the name of the session that you have used to establish a connection with
the terminal using the Connect action in the
Terminal emulator session name field.
-
Select an option from the Get text list to specify the
lines from which you want to retrieve text:
-
Select a string variable from the Assign the value to an existing
variable list to assign the retrieved text to that
variable.
-
In the Assign value to variable list, select a string
variable.