Escape() action

Description
The Escape action switches c3270 or wc3270 to the c3270&gt; prompt and optionally performs an action.

Parameters
If no parameters are given, simply breaks to the prompt.

One or two optional parameters can be specified. The last parameter is an action name and optional arguments, which will be run before the prompt is displayed. Note that the entire action name and arguments are in one parameter, not spread across multiple parameters.

The action parameter can be preceded by the -nopromptafter option, which specifies that no prompt will be displayed after the action is run -- that is, the host session will be resumed immediately after. New in 4.2

Examples
Break to the c3270&gt; prompt. Escape Break to the c3270&gt; prompt and run the Transfer action. Escape("Transfer")

Default keymap
how to read keymap tables