|
|
|
|
The APPC Name (ANAME) application is a program that simplifies naming in an SNA network.
Although it is necessary to use LU names to identify a partner in a transaction program, it can be difficult to associate LU names with the names of the people or resources using those LUs. ANAME eliminates the user's 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 qualified 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 target program ANAMED that maintains the database and provides the services, and one or many source programs that request the services.
To configure ANAME, do the following:
Modify the asuite.tps file fragment (stored in the /etc/opt/sna subdirectory), which provides the standard configuration for the target TPs. For more information, see Configuring Target Programs (Applications) and Sample asuite.tps File Fragment.
Modify the sample initialization file called anamed.ini (stored in the /opt/sna/samples subdirectory). Rename this file to .anamed and store it in the home directory of the user that is running the ANAMED program (this user is configured in the asuite.tps file).
Create a side information record (see Ensuring Name Resolution).
The anamed.ini initialization file 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 user's 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 file to .anamed and copy it to the home directory of the user configured to run the target program.
The initialization file is a text file that identifies the System Administrator and the database path. Modify the sample anamed.ini initialization file as described in Modifying the anamed.ini Initialization File. The standard file is shown in Sample anamed.ini File.
/*
* This is a sample ANAMED.INI file.
*
* The following keys should be changed when configuring the
* NameServer target system.
*
* This file should be placed in the target's $HOME directory and renamed
* to ".anamed"
*
* See the NameServer system administrator's guide for more
* information.
*/
/*
* Change the set_system_administrator value to the fully-qualified
* LU name of the NameServer administrator's computer.
*/
set_system_administrator
lu_name( SysAdmin.LU );
/*
* Change the set_database_path value to the drive and path of the
* NameServer database file.
*/
set_database_path
directory( . );
|
|
|
|
|