gtpi1m3s | System Installation Support Reference |
The Mapping of Airline Traffic over Internet Protocol (MATIP) host name
user exit, UMATCH, allows you to select a remote host or modify the host
record data area (user_area in TPF collection support database
MATIP_DS) for outbound sessions. You can search the host name table and
use the line number, interchange address, and terminal address (LNIATA) to
select the remote host.
UMATCH is called in CMACMD.
Input
- lniata
- The LNIATA of the remote host.
- pHost
- A pointer to the start of the host name table.
- nHosts
- The number of host records configured in the host name table.
Programming Considerations
- All data levels must be returned to the caller in the same state that they
were on entry.
- The selected host name must be defined in your Domain Name System (DNS)
server so it can be resolved by the gethostbyname function.
- You must provide a table that ends with a zero, of LNIATAs and host
names. The following is an example:
#define LNIATA_TBL
{{0X00D40103,"HOST1.POK.IBM.COM"},
{0X00D40104,"HOST2.POK.IBM.COM"},
{0," "}}
Return Values
UMATCH returns one of the following values:
- Address
- The address of the entry in the host name table that contains the selected
host name so message traffic can start.
- Null
- The host name is not in the host name table. The request to start
message traffic exits.