HP-UX SNAplus2 R7 APPC Application Suite User's Guide

ANAME
Using ANAME
Transaction program (TP) name
Optionally, specify this value when you register with
ANAME. This eld identies the TPs associated with a
fully qualied LU name. There are no restrictions on the number of instances of the same TP name or the
number of users registered with one TP name.
Note
Commands for
ANAME
functions can be entered in either uppercase or lowercase. For
example, to register a user name, you can use either the REG or reg command.
Names registered with
ANAME
should be values that are easy to remember and will not change over time. When
selecting names to register with
ANAME, consider how the names will be used as the
ANAME network grows and
changes. Follow these rules and conventions:
Use names that will remain unique within a specic domain. For example, avoid using rst names and initials.
Use dened and understood domains as group names, such as team or department names.
Use names that are easily associated with the person or entity using the name, such as local area networks
(LANs) or host IDs.
Choose names that can be used for a variety of purposes throughout APPC. For example, because APPC partner
aliases must be eight characters or less in length, an
ANAME user name that is also used as an alias should meet
this size limitation.
4.2.1 Adding a Record
It is not necessary to enter information in all four elds when adding a record. What you enter depends on your
situation.
User name
The simplest way to register a user name in the
ANAME database is to associate a name you select with a fully
qualied LU name. To do so, enter the following:
aname REG -u UserName
A record is created in the database associating the UserName with the fully qualied LU name from which the
command was issued. The UserName must be unique to the fully qualied LU name.
Group name or names
If you belong to any group or groups in the
ANAME
network, add the group names to the database so that
others on the network can nd you. (You can use the same user name if you are using the same fully qualied
LU name.) For example, if you belong to a team and to a department, you can register both by entering the
following:
aname REG -u UserName -g TeamName
aname REG -u UserName -g DepartmentName
Transaction program names
If you want other users on the
ANAME network to know what transaction programs are installed on your computer,
you can register the program names in the database. For example, to register the
ATELLD program in the database
and associate it with your fully qualied LU name, enter the following command:
aname REG -t ATELLD
Because it is possible to have more than one user name for each fully qualied LU name, you can make the
association more specic by adding a user name to the command:
30