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

ANAME
ANAME Conguration
4 ANAME
The APPC Name (
ANAME) application is a program that simplies naming in an SNA network.
Although it is necessary to use LU names to identify a partner in a transaction program, it can be dif
cult to
associate LU names with the names of the people or resources using those LUs.
ANAME
eliminates the users need
to know LU names by mapping the names to more usable nicknames (user names) that are accessible across the
network. For example, rather than using a fully qualied LU name, such as ABCDEFG.NR10691, you can map it
to a simpler user name such as PrintServer.
You can also use the group membership function of
ANAME
to categorize LUs according to common function or
group association. Users can also be associated with the transaction programs they use.
The
ANAME
program provides the following functions, which are referred to collectively as Name Services:
Adding a name to the
ANAME
database
Removing a name from the
ANAME database
Viewing records in the
ANAME database
An
ANAME network includes one provider program
ANAMED that maintains the database and provides the services,
and one or many requester programs that request the services.
4.1 ANAME Conguration
To congure
ANAME, do the following:
Modify the asuite.tps le (stored in the /etc/opt/sna subdirectory), which provides the standard
conguration for the provider TPs. For more information, see Section 1.2.2, Conguring Your System and
Section 1.2.2, Conguring Your System.
Modify the sample initialization le called anamed.ini (stored in the /opt/sna/samples subdirectory).
Rename this le to .anamed and store it in the home directory of the user that is running the
ANAMED program
(this user is congured in the asuite.tps le).
Create a side information record (see Section 4.2.2, Ensuring Name Resolution).
4.1.1 Modifying the anamed.ini Initialization File
The anamed.ini initialization le is included with the
ANAME application. Before using
ANAME, do the following:
Provide values for the set_system_administrator LU name, (which refers to the FQLU name on the users
network used by the System Administrator), and set_database_path. (The set_database_path parameter
sets the directory in which the
ANAME
database is stored. The default directory is the home directory of the
ANAME user.)
Rename the le to .anamed and copy it to the home directory of the user congured to run the provider
program.
4.1.2 Sample anamed.ini Initialization File
The initialization le is a text le that identies the System Administrator and the database path. Modify the
sample anamed.ini initialization le as described in Section 4.1.1, Modifying the anamed.ini Initialization File.
The standard le is shown in Figure 41, Sample anamed.ini File.
28