The application search path is the primary search path used
by the desktop to locate applications on the local system and on
application servers throughout the network.
When locations are added to the application search path, the
other search paths (database, icon, and help) are automatically
updated to reflect the corresponding locations for that data; thus,
the application search path provides relatively simple administration
for applications and their desktop configuration files. See “How
the Application Search Path Affects the Database, Icon, and Help
Search Paths”.
Default
Application Search Path |
 |
The default application search path includes personal, system-wide,
and built- in locations. The default language
is C.
Application Search Path Environment
Variables |
 |
The application search path is assembled from the built-in
locations and the following input variables:
The assembled search path is specified by the output variable
DTAPPSEARCHPATH.
Syntax for the Application
Search Path Input Variables |
 |
The syntax for the variables DTSPSYSAPPHOSTS
and DTSPUSERAPPHOSTS
is:
VARIABLE=location [,location...] |
where location
can have the syntax:
How the Value of the Application
Search Path Is Assembled |
 |
The value of the application search path (
DTAPPSEARCHPATH) is created by assembling the following locations,
listed in order of precedence:
Locations specified
using the DTSPUSERAPPHOSTS variable
The default personal location: HomeDirectory/.dt/appmanager
The default location: /etc/dt/appconfig/appmanager/language
Locations specified using the DTSPSYSAPPHOSTS variable
/usr/dt/appconfig/appmanager/language
The syntax:
is expanded to specify the directory /etc/dt/appconfig/appmanager
on system hostname.
Changing
the Precedence of the System-Wide Local Location |
 |
By default, the local system-wide location (/etc/dt/appconfig/appmanager/language)
has precedence over remote locations. Thus, local application groups
have precedence over remote groups with the same name. For example,
if both the local and remote systems have Printer application groups
(/etc/dt/appconfig/appmanager/language/Printers),
the local group is used.
The application search path input variables provide syntax
for specifying the precedence of the local system-wide application
groups:
For example, suppose your system must access application servers
SysA, SysB,
and SysC, and you want the
system-wide application groups on SysB
to have precedence over any local groups with the same name.
The following value for DTSPSYSAPPHOSTS creates this behavior:
DTSPSYSAPPHOSTS=SysB:,localhost:,SysA:,SysC: |
How
the Application Search Path Affects the Database, Icon, and Help
Search Paths |
 |
Additions to the application search path automatically add
corresponding locations to the database, icon, and help search paths.
This provides the ability to add an application server to a search
path by setting only the application search path input variable.
For example, if you set DTSPSYSAPPHOSTS as follows:
then the following search paths are affected:
Similarly, if you set DTSPSYSAPPHOSTS as follows:
DTSPSYSAPPHOSTS=/projects1/apps |
then the following search paths are affected: