ERROR: "XCOMT0298E Unable to allocate remote transaction program" transferring using a DNS name
search cancel

ERROR: "XCOMT0298E Unable to allocate remote transaction program" transferring using a DNS name

book

Article ID: 196381

calendar_today

Updated On:

Products

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

  • XCOM™ Data Transport® for HP NonStop IA64
  • XCOM™ Data Transport® for HP-UX IA64
  • XCOM™ Data Transport® for AS/400 i5/OS

Cause

The HOST file didn't have the necessary information to resolve the DNS.

Resolution

This case was addressed by making sure that the proper TCPIP configuration file was being used to resolve the new DNS name. It was necessary to use the RESCONF file and 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 domain
nameserver ipaddr
nameserver ipaddr

NonStop Technical Library - HPE NonStop Documentation and Training