Verastream SDK for Airlines
Requesting a 5250 Screen Object

The XML to request a 5250 screen object is as follows:

<ScreenTn5250>
        <Tn5250con>
                <Tcp5250con HostName="yourhost.com" PortNumber="23" />
        </Tn5250con>
        <ReadXlat XlateFileName=""/>
</ScreenTn5250>

Additional ScreenTn5250 XML parameters are shown in the table 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 the TextCase parameter, the first line of the XML shown above would be changed from

<ScreenTn5250>
to
<ScreenTn5250 TextCase="Lower">

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.

ScreenTn5250 XML Parameters
Parameter Value Description
TextCase Mixed Text you type appears in both lowercase and uppercase.
Lower Text you type appears only in lowercase.
Upper Text you type appears only in uppercase.
AttributeStyle Normal Display attributes are processed by the presentation space.
Asterisk Display attributes appear as asterisks (*) in the presentation space.
Dot Display attributes appear as periods (.) in the presentation space.
NumFldOverride True You can enter alphanumeric data in a numeric-only field. Some host applications require this in order to transmit special commands.
False You can enter only numeric data in a numeric-only field.
DestructiveBackspace True Sending a backspace character with SendKeys moves the cursor one character to the left, and the character to the left of the cursor is deleted.
False Sending a backspace character with SendKeys moves the cursor one character to the left, but does not delete any characters.
Rows number The number of rows in the presentation space.

The default is 24 rows.

Columns number The number of columns in the presentation space.

The default is 80 columns.

Back to top

Tcp5250con XML Parameters
Parameter Value Description
HostName ipaddr The IP address of the host front-end.
PortValue 23 The number of the host port to use. The default value is 23. Add a PortValue to the XML only if you need to use a different host port. For the appropriate port number, contact your administrator.
SecureConnection true Create a TLS-secured connection.
false Create a normal unsecured TCP connection (default).
FIPSMode true Enforce FIPS 140-2 operation (default).
false Allow non-FIPS-approved operation.
KeyStoreFile path Path to the Key Store file (required).
KeyStoreFormat (JKS, BKS, PKCS12) Format of the Key Store file (required).
KeyStorePWD password Password used to create the Key Store file (required).

Back to top

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