Command reference / comm
ADDTCPHTE
Add TCP/IP Host Table Entry
Registers host names and, optionally, a description for one IP address in the local TCP/IP host table.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
INTNETADR
INTNETADR
Sets the internet address that the host names and text descriptions are associated with.
character-value- Enter the internet address.
HOSTNAME
Host names
Sets the host names corresponding to the internet address. The host name can be either the short form or the full domain version of the name. A common practice is to define one short name that is unique within your local network and to also define the full domain version of the host name that is unique within the Internet.
COM- All commercial networks.
ABC.COM- All systems in the ABC company's commercial network.
MFG.ABC.COM- All manufacturing systems in the ABC company's commercial network.
SYS1.MFG.ABC.COM- A host named SYS1 in the manufacturing area of the company's commercial network.
AERO- Air-transport industry.
BIZ- Businesses.
CAT- Catalan linguistic and cultural community.
COM (2)- Commercial organizations.
COOP- Cooperative associations.
EDU- Educational institutions.
GOV- United States of America government institutions.
INFO- Global information.
INT- Organizations established by international treaties between governments.
JOBS- Human resource managers.
MIL- United States of America military groups.
MOBI- Consumers and providers of mobile products and services.
MUSEUM- Museums.
NAME- Individuals.
NET- Major networks support centers.
PRO- Credentialed professionals and related entities.
TRAVEL- Travel industry.
ORG- Organizations other than those above.
ARPA- Temporary ARPANET domain.
Country or Region Code- Countries or regions other than the USA.
character-value- Enter a host name to be associated with the specified internet address. When running APPC over TCP/IP, the host name is in the form: location.netid.SNA.IBM.COM The default if a host name is not specified is blanks.
Elements in order
TEXT
TEXT
Sets text that briefly describes the host table entry.
*BLANK- Leave the description blank.
character-value- Enter no more than 64 characters of text, enclosed in apostrophes.
Examples
ADDTCPHTE INTNETADR('132.28.71.5') HOSTNAME(ETHERNETHOST) TEXT('ETHERNETHOST on Ethernet subnet')
Associates the host name ETHERNETHOST with the internet address of 132.28.71.5. The text 'ETHERNETHOST ON ETHERNET SUBNET' is saved as the text description for this host table entry.
ADDTCPHTE INTNETADR('1234::5678') HOSTNAME((SYSTEM1.SALES.ABC.COM) ('system1.sales.abc') ('System1.Distribution.Abc.Com') ('System1.Marketing.Abc.Com') ('System1.Marketing.Abc')) TEXT('Entry verified by J. Jones')
Associates the host names SYSTEM1.SALES.ABC.COM, SYSTEM1.SALES.ABC, SYSTEM1.DISTRIBUTION.ABC.COM, SYSTEM1.MARKETING.ABC.COM, and SYSTEM1.MARKETING.ABC with the internet address of 1234::5678.
Generated from os/cl/catalog/ADDTCPHTE.json and os/cl/help/ADDTCPHTE.json.