XCOMT0298E message when trying to transfer using a DNS name

book

Article ID: 196381

calendar_today

Updated On:

Products

CA XCOM Data Transport XCOM - SUPPORT

Issue/Introduction

Receiving message "XCOMT0298E Unable to allocate remote transaction program" and "Txpi 224: gethostname error return value =nn" when trying to transfer from Non-Stop to the AS/400 using a DNS name. The works when using the IP address.

Environment

Release : 11.0

Component : CA XCOM Data Transport for Hp NonStop

Resolution

This case was addressed by making sure that the proper TCPIP configuration file was being used to resolve the new DNS name. In this case the HOST file didn't have the necessary information to resolve the DNS, but when they used their RESCONF file then the DNS was resolved and the transfer was resolved. 


Additional Information

A value for =TCPIP^RESOLVER^NAME must be defined only if both the following conditions exist:

  • the program that is going to run calls the gethostbyname or gethostbyaddr routines.
  • The name server information normally contained in the $SYSTEM.ZTCPIP.RESCONF file is contained in some other file.
  •  

=TCPIP^RESOLVER^NAME      Specifies the name of the resolver  configuration file to be used to get name server information

add define =tcpip^resolver^file,     file $system.ztcpip.resconf

info define **              displays all defined settings

NOTE: $system.ztcpip.resconf is the default if not specifies 

$SYSTEM SYSTEM 12> fup copy $system.ztcpip.resconf
#
# Configuration for the resolver part. (used by gethostbyname ())
#
# domain xx.com
# search xx.com
# nameserver ipaddr
# nameserver ipaddr

# New entries after move from A to B
domain nje.broadcom.net
nameserver ipaddr
nameserver ipaddr

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00099017en_us