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

ANAME
Using ANAME
aname REG ?
aname REG -h
aname REG -help
For more information, see Section 4.2.9, Summary of Supported ANAME Commands.
4.2.7 Duplicating a User Name
A System Administrator can duplicate a UserName that is already registered by entering the following command:
aname reg -d -u UserName
This command can be used to associate an existing user name with resources on local systems and those resources
on remote systems. This enables a remote user to request any of the resources on the local node by using a single
user name. The
ANAMED
provider program then determines which LU handles requests for the resource.
4.2.8 Wildcards
Because some HP-UX shells do wildcard expansion on the command line, it is important to remember to put
quotation marks (") around wildcard commands. The following set of wildcards is recognized by
ANAME:
Full wildcard
Use the asterisk (*) to view or delete all records in a particular eld. For example, -u "*" indicates all user
names.
Partial wildcard
Use the asterisk (*) following a value to indicate that you want to view or delete all the values that contain
the characters you specify. For example, -u"J*" indicates all the values that begin with the letter J.
Placeholder wildcard
Use the question mark (?) to indicate a placeholder. A question mark between characters causes a search on
the specied characters and any unspecied character that falls in between. For example, -u"J??n" would
match values such as John, Jean, and Joan.
4.2.9 Summary of Supported ANAME Commands
Table 42, Supported ANAME Commands, summarizes the commands that enable you to control the
ANAME
database.
Use each command with at least one of the ags shown in Table 43, Options and Parameters Used with ANAME
Commands.
You can enter the following commands in uppercase or lowercase:
Table 42 Supported ANAME Commands
ANAME Command Description
register or reg or r Registers a name in the
ANAME database.
delete or del or d
Removes a name from the
ANAME
database.
query or qry or q
Enables you to view records in the
ANAME database. You may use wild-
cards to broaden the query criteria.
Table 43, Options and Parameters Used with ANAME Commands, summarizes the options and parameters that you
can use with the
ANAME commands.
33