gtpi1m3vSystem Installation Support Reference

MATIP Session Start

The Mapping of Airline Traffic over Internet Protocol (MATIP) session start user exit, UMATSS, initializes a session with a device or remote system. Characteristics for the session can be defined when a line number, interchange address, and terminal address (LNIATA) and an IP address pointer are passed to UMATSS. UMATSS also enables you to start a Type-A host-to-host session or a Type-B session with a remote system when a terminal address table (WGTA) entry is not associated with the session.

UMATSS is called in CMACMD.

Input

session_type
A pointer to an unsigned integer containing the session type (Type-A conversational, Type-A host-to-host, or Type B).

lniata
A pointer to the LNIATA being addressed. If the LNIATA is equal to -1, no WGTA entry is associated with the session.

IPaddress
A pointer to the in_addr structure that contains the 4-byte IP address returned by the gethostbyname function.

session_ID
A pointer to the message identifier (ID). The contents of this field will be set by the user and will be consistent with the session type associated with the session.

encoding
A pointer to an integer containing the encoding of the format (such as ASCII, EBCDIC, and so on).

subtype
A pointer to an integer containing the agent set control unit (ASCU) length, traffic subtype, or messaging responsibility transfer protocol used.

multiplex
The type of ASCU or host-to-host session:

Programming Considerations

Return Values

UMATSS returns one of the following values:

0
The session setup data is returned.

Negative Number
The session setup data is not returned.