Issuing the SELECT TCPXLAT Command with the Batch Interface

To use the SELECT TCPXLAT command from the Batch Interface, place your commands in the DGADBATC job stream and submit the job while IBM® Connect:Direct® is running. Use the batch version of the SELECT TCPXLAT command to make multiple requests for resolution. The maximum number of requests is 10.

Procedure

To use the SELECT TCPXLAT command from the Batch Interface, place your commands in the DGADBATC job stream and submit the job while IBM Connect:Direct is running. Use the batch version of the SELECT TCPXLAT command to make multiple requests for resolution. The maximum number of requests is 10.

The following command produces the TCP Name/Address Translation Report. The first two names listed in the TRTCPNAM parameter are aliases, the third is an actual host name.

SIGNON
  SEL TCPXLAT WHERE (TRTCPNAM=(NAME1, NAME2, tcpip.host.name3))
  SEL TCPXLAT WHERE (TRTCPADR=(123.456.78.999, 123.456.789.012))
SIGNOFF

The following report shows the resolution of name to address or address to name. REQUEST is what is typed in the command.

=============================================================================
                       TCP Name/Address Translation Report
=============================================================================
REQUEST                           : NAME1
Host Address                      : NNN.NNN.NN.NNN..
HOST NAME                         : tcpip.host.name1
REQUEST                           : NAME2
*** TCP Name/Address could not be resolved ***
REQUEST                           : tcpip.host.name3
Host Address                      : NNN.NNN.NN.NNN..
HOST NAME                         : tcpip.host.name3
=============================================================================
                       TCP Name/Address Translation Report
=============================================================================
REQUEST                           : 123.456.78.999
Host Address                      : 123.456.78.999,
HOST NAME                         : tcpip.host.name4
REQUEST                           : 123.456.789.012
Host Address                      : 123.456.789.012,
HOST NAME                         : tcpip.host.name5