Verastream SDK for Airlines
Requesting an ALC Airlines Gateway Screen Object

The XML to request an ALC Airlines Gateway screen object is as follows:

<ScreenAlc TerminalType="D1">
        <Atmcon GWAddress="yourgateway" SessionName="MATIPGWALC_1" 
           SessionPool="yourpool" GWHostType="ALC" ConnectType="MATIP" />
</ScreenAlc>

Additional ScreenAlc and AirGate (Atmcon) XML parameters are shown in the tables below. Except where noted, these parameters use the following syntax:

name="value"

where name is the name of a parameter and value is a valid value for that parameter. These tags should be placed within the object being defined. For example, to add ForceCaps, the first line of the XML shown above would be changed from

<ScreenAlc TerminalType="D1">

to

<ScreenAlc TerminalType="D1" ForceCaps="True">

The default values are shown in bold in the Value column or given in the Description column. If a parameter is not included in the XML, its default value is used automatically.

ScreenAlc XML Parameters
Parameter Value Description
TerminalType D1 ALC terminal with a fixed size of 15 x 64.
D2 ALC terminal with a fixed size of 23 x 64.
D3 ALC terminal with a fixed size of 23 x 80.
D4 ALC terminal with a fixed size of 30 x 64.
D5 ALC terminal with a fixed size of 24 x 80.
DisplayNewLines True Display the newline character at the end of each line when the presentation space receives data from the host.

When this option is set to True, CR appears in the status line.

False Do not display the newline character at the end of each line.
ForceCaps True Display uppercase characters as you type, even if you type lowercase characters.
False Display the text you type in both uppercase and lowercase.
SwordMode True Transmit all data from the current cursor location to the preceding start-of-message (SOM) indicator or to the upper-left corner of the presentation space, whichever is encountered first. This ensures that the presentation space does not wrap from the upper-left corner of the presentation space to the lower-right corner of the presentation space in search of an SOM indicator. (Sword screens normally do not include an SOM indicator.)
False Transmit all data from the current cursor location to the preceding SOM indicator. If the SOM indicator occurs after the cursor location, the presentation space transmits all the data from the cursor to the upper-left corner of the presentation space, as well as all data from the lower-right corner of the presentation space to the SOM indicator.
SystemDownStatus text Up to 12 characters of text to display on the status line when a connection with the host is not currently established. The default is Sys Unavail.
PushRepeatStatus text Up to 9 characters of text to display on the status line when there is a problem with a message received from the host. The default is Push Rpt.
ReenterStatus text Up to 9 characters of text to display on the status line when an error occurs in the transmission to the host, or when the format is not correct. The default is Reenter.
KeyboardLockedStatus text Up to 9 characters of text to display on the status line when the keyboard is locked. The default is Kybd Locked.

Back to top

Atmcon XML Parameters
Parameter Value Description
TerminalId terminalid The terminal identifier to use to connect to the Airlines Gateway. This value is optional and may be left empty.

The default value is blank.

GWAddress name IP address or domain name of the Airlines Gateway.
GWHostType ALC Specifies an ALC host connection type.
ConnectType MATIP Specifies a MATIP connection type.
APOLLO Specifies an Apollo connection type.
SHARES Specifies a Shares connection type.
SessionPool poolname Specifies the name of a host path on the gateway to use in connecting. This parameter may or may not be required, depending on how the gateway is configured.
SessionName sessionname Specifies the name of an address or ID pool on the gateway for use in establishing the connection. This parameter may or may not be required, depending on how the gateway is configured.
RcvAck False Disables Receive Acknowledgements.
True Enables Receive Acknowledgements.
Lingering seconds The number of seconds to wait for an acknowledgment from the host when the presentation space closes the connection. If an acknowledgment is not received within this amount of time, the connection closes anyway.

The value must be between 3 and 20 inclusive. If you specify a value less than 3, the default value is used.

The default value is 3.

RemotePortValue portnumber

The default is 11367.

Specifies the port used to contact the Airlines Gateway.

Back to top

Related Topics
Defining an XML Configuration
The Screen Object Model
Requesting a Screen Object
  Footer