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

ANAME
Using ANAME
aname DEL -u UserName
To delete a record with a specied user name and group name, enter:
aname DEL -u UserName -g GroupName
For more information, see Section 4.2.9, Summary of Supported ANAME Commands.
4.2.5 Viewing Names in the ANAME Database
You can use the query function to view a single record or multiple records in the
ANAME
database.
For example, to view the record of a group called TechDept, enter:
aname QRY -g TechDept
To view all the records for a particular user name, enter:
aname QRY -u UserName
To view all the records that match a specic user name and group name, enter:
aname QRY -u UserName -g GroupName
To view all the records that match a specic group name and TP name, enter:
aname QRY -g GroupName -t TPName
Notes
If you specify only one eld, the program returns entries that match on this eld and
have no other elds set, in preference to entries that match on this eld and also have
other elds set. For example, if you specify only the user name, and there are records
for the specied user name both with and without a group name specied, this command
returns only the records that have no group name specied.
If you specify a TP name, the program returns entries that contain this TP name, and
also entries that have no TP name specied.
When searching the database for a specic value, only TP names are case sensitive.
Matches for the other three elds are found by alphabetic value only.
To view multiple records that contain a common eld value, use wildcard searches. (For more information about
wildcards, see Section 4.2.8, Wildcards.) For example, to view all the records for user names that begin with the
letter A, enter:
aname QRY -u "A*"
For more information, see Section 4.2.9, Summary of Supported ANAME Commands.
4.2.6 Using the Help Option
To obtain help on how to use all
ANAME commands, enter one of the following commands:
aname ?
aname -h
aname -help
To obtain help on a specic command, include the function name in the command. For example, to get help for
the Register function, enter one of the following commands:
32