SQL Anywhere creates two types of temporary files: database server-related temporary files (created on all platforms), and
communications-related temporary files (created only on Unix for both the client and the database server).
You can use the -dt option to specify a directory for database server-related temporary files. If you do not specify this
option when starting the database server, SQL Anywhere examines the following environment variables, in the order shown, to
determine the directory in which to place the temporary file.
SATMP
TMP
TMPDIR
TEMP
If none of the environment variables are defined, SQL Anywhere places its temporary file in the current directory on Windows,
and in the /tmp directory on Unix.
Temporary files for communications on Unix are not placed in the directory specified by -dt. Instead, the environment variables
are examined, and /tmp is used if none of the environment variables are defined.