Specifies the location of the SQL Anywhere diagnostic directory.
SADIAGDIR=diagnostic-information-directory
Operating system | Default location |
---|---|
Windows | %ALLUSERSPROFILE%\Application Data\SQL Anywhere 11\diagnostics |
Unix | $HOME/.sqlanywhere11/diagnostics |
Windows Mobile | Directory where the database server is running |
SQL Anywhere stores crash reports and feature statistics information in a diagnostic directory. The SADIAGDIR environment variable is used to determine the location of the diagnostic directory where SQL Anywhere writes crash reports.
If the directory specified by this environment variable does not exist, then the database server operates as though the environment variable is not set.
On Windows (except Windows Mobile), diagnostics are written to the first writable directory in the following list:
The directory specified by the SADIAGDIR environment variable.
The directory of the current executable.
The current directory.
The temporary directory. See SATMP environment variable and TMP, TEMPDIR, and TEMP environment variables.
On Windows Mobile, diagnostics are written to the first writable directory in the following list:
The directory of the current executable.
The current directory.
The temporary directory. See Registry settings on Windows Mobile.
On Unix, diagnostics are written to the first writable directory in the following list:
The directory specified by the SADIAGDIR environment variable.
The directory specified by $HOME/.sqlanywhere11/diagnostics.
The current directory.
The temporary directory. See SATMP environment variable and TMP, TEMPDIR, and TEMP environment variables.
On Unix, writing crash reports to the user's home directory is not recommended when the database or MobiLink server is running as a daemon, or the user is root/nobody. Because of this, the Unix install prompts you for a suitable location and sets the SADIAGDIR environment variable in the sa_config.sh and sa_config.csh files.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |