When you install SQL Anywhere, several directories are created. Some of the files in these directories are essential, and others are not. This section describes the directory structure.
SQL Anywhere software, whether you receive it as a product or bundled as part of another product, is installed under a single installation directory. The utilities provided with the SQL Anywhere product, however, are installed in other directories. This section describes only the installation directory structure for SQL Anywhere itself. The SQLANY10 environment variable specifies the location of the installation directory. See SQLANY10 environment variable.
The SQL Anywhere installation directory itself holds several items, including the following:
Read Me First A Read Me First file named readme.txt holds last minute information.
For platforms other than Novell NetWare and Windows CE, there are several directories under the installation directory:
Executable directories There is a separate directory for each operating system platform, which holds executables, dynamic link libraries, and help files.
On Windows, except Windows CE, these files are installed in the win32, ia64, or x64 directory. If you are using Unix, they are installed in the bin32 or bin64, and lib32 or lib64 directories.
You will not always have all of these directories on your computer; you will have only the ones required for your operating system version.
java directory Java classes are stored in this directory.
scripts directory The scripts directory contains SQL scripts that are used by the database administration utilities and as examples. If the scripts directory is not present, the administration utilities will not work.
h directory The h directory contains header files for developing C/C++ applications for SQL Anywhere. On Unix, this directory is called include.
On Novell NetWare, all files are installed in a single directory on the server. Throughout this documentation, when reference is made to files in subdirectories of the installation directory, the file on NetWare is in the installation directory itself.
On Windows CE, all files are installed in the installation directory \Program Files\SQLAny10, except for DLLs, which are installed in the \Windows directory. No subdirectories are created.
The language resources are installed in the res directory, and the shared objects are installed in the lib32 or lib64 directory.
When you install SQL Anywhere 10, you can choose the directory where the samples are installed. The documentation refers to this location as samples-dir.
The SQLANYSAMP10 environment variable specifies the location of samples-dir. See SQLANYSAMP10 environment variable.
On Windows, you can access the samples from the Start menu by choosing Programs > SQL Anywhere 10 > Sample Applications and Projects.
The following table shows default and typical locations of samples-dir for each supported operating system:
Operating system | Default installation location (samples-dir) | Typical installation location |
---|---|---|
Windows XP/200x | %ALLUSERSPROFILE%\Documents\SQL Anywhere 10\Samples | C:\Documents and Settings\All Users\Documents\SQL Anywhere 10\Samples1 |
Windows Vista | %PUBLIC%\Documents\SQL Anywhere 10\Samples | C:\Users\Public\Documents\SQL Anywhere 10\Samples |
Windows CE | \Program Files\SQLAny10 | |
Unix and Linux | /opt/sqlanywhere10/samples | Script provided to copy samples to user-specified directory. |
Mac OS X | /Applications/SQLAnywhere10/Samples | Script provided to copy samples to user-specified directory. |
NetWare | No samples installed. |
1 When accessing the SQL Anywhere samples directory in Windows Explorer, the location is Documents and Settings > All Users > Shared Documents > SQL Anywhere 10 > Samples. However, if you are accessing the SQL Anywhere samples directory from a command prompt, the path is C:\Documents and Settings\All Users\Documents\SQL Anywhere 10\Samples.