Software Distributor Administrator Guide (September 2010)
11.4.1.2 LC_ALL
• Determines the locale used to override any values for locale categories specified
by the settings of LANG or any environment variables beginning with LC_.
11.4.1.3 LC_CTYPE
• Determines the interpretation of sequences of bytes of text data as characters (e.g.,
single-versus multibyte characters in values for vendor-defined attributes).
11.4.1.4 LC_MESSAGES
• Determines the language in which messages should be written.
11.4.1.5 LC_TIME
• Determines the format of dates (create_date and mod_date) when displayed
by swlist. Used by all utilities when displaying dates and times in stdout,
stderr, and logging.
11.4.1.6 TZ
• Determines the time zone for use when displaying dates and times.
11.4.2 Variables That Affect All SD-UX Scripts
11.4.2.1 SW_CATALOG
• Holds the path to the Installed Products Database (IPD), relative to the path in the
SW_ROOT_DIRECTORY environment variable. (You can specify a path for the IPD
using the installed_software_catalog default option.)
11.4.2.2 SW_CONTROL_DIRECTORY
• Defines the full pathname to the directory containing the script. This tells other
scripts where other control scripts for the software are located (subscripts, for
example).
Also contains the response file generated by a request script. Other scripts that
reference the response file access the file by referencing this variable.
The directory is either a temporary catalog directory, or a directory within in the
Installed Products Database (IPD).
Here is an example of sourcing:
. ${SW_CONTROL_DIRECTORY}subscript
grep something ${SW_CONTROL_DIRECTORY}datafile
11.4.2.3 SW_CONTROL_TAG
278 Using Control Scripts