3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)
3.12
Global Options and Environment Variables
3PAR InForm OS CLI Administrator’s Manual InForm OS Version 2.2.4
3.2.7 Caching Client Bytecode
Client bytecode contains the majority of functionality of the InForm CLI and is version specific.
The CLI caches the code required for communication for each different version of the InForm
OS running on the system. The TPDCACHEDIR environment variable controls the location of
the cache directory used by the CLI to determine the version of the InForm OS running on the
system.
The TPDCACHEDIR
environment variable is set differently in Solaris and Windows.
3.2.7.1 Setting the TPDCACHEDIR Environment Variable On Solaris
X To set the TPDCACHEDIR environment variable in Solaris, see the following system output
example. Substitute the name of your cache directory for
cache1 and use the correct
syntax for your shell.
3.2.7.2 Setting the TPDCACHEDIR Environment Variable On Windows
To set the TPDCAHCEDIR environment variable in Windows:
1 Perform step 1 through step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in 3.2.3 Using SSL on page 3.7.
2 In the Environment Variable dialog box, enter
TPDCACHEDIR in the Variable box.
3 Enter the cache directory name in the Value box.
4 Click OK.
3.2.8 Startup Files
Startup files can be used to load user-defined procedures and commands. Setting the
TPDSTARTFILE environment variable causes the CLI to use a specific startup file when starting
the CLI.
The
TPDSTARTFILE environment variable is set differently in Solaris and Windows.
$ TPDCACHEDIR=cache1
$ export TPDCACHEDIR
$ cli