Version 4.5.2
 —  Application Programming Interface  —

Overview of API Calls

This section provides an overview of all available API calls, grouped according to the following functional areas:

See the descriptions below for detailed information on these API calls (including associated events).


Initialization

When starting a session, the API client can either attach to a running terminal or create a new terminal.

Start of instruction set To find out the session names of any running terminals (synchronous call only)

Start of instruction set To attach to a terminal

Start of instruction set To log on to Entire Connection

Top of page

Opening a Session

The API client can either query the available session names from the share file or open a known session directly.

Start of instruction set To query all sessions defined for the Entire Connection user

Start of instruction set To open one of these sessions

Associated Events:

Top of page

General Control

Start of instruction set To send commands to the open session

Start of instruction set To send general text and key codes

Start of instruction set To enable data notifications (synchronous call only) 

Start of instruction set To show and hide the terminal window

Associated Events:

Top of page

Screen Data

Screen text is available as the raw text as it is received by the host and as the processed text as it is displayed on the terminal. The raw text contains all characters - including those that are not to be displayed (e.g. password) - and can contain zero values.

Since the raw text can contain zero values, it can only be returned as an array of unsigned characters. The screen text is returned as an array of strings.

Start of instruction set To return screen text

Start of instruction set To return raw data

Start of instruction set To return screen attributes

Start of instruction set To return extended screen attributes

Start of instruction set To read and set the current cursor position

Start of instruction set To remove all editable text in the specified area

Start of instruction set To call the IF command used to check for screen text

Top of page

Data Transfer

Start of instruction set To prepare for data transfer to be processed directly by the API client

Start of instruction set To preset a file name

Start of instruction set To return a file name

Start of instruction set To cancel a running data transfer

Associated Events:

Top of page

Tasks and Procedure Files

Start of instruction set To run an Entire Connection task or procedure file

Start of instruction set To access the global parameters +PARM0 to +PARM9

Start of instruction set To cancel a running procedure file (synchronous call only)

Associated Events:

Top of page

Closing a Session

Start of instruction set To close an open session and leave the connection to Entire Connection active

Start of instruction set To close all terminals (asynchronous call only)

Start of instruction set To break the link to the terminal (synchronous call only)

Associated Events:

Top of page

Other Methods

Start of instruction set To return the current size of the open terminal

Top of page