When you install Sybase IQ, several directories may be created. The directories created depend on which options are chosen during installation and which directories already exist in your Sybase directory (the directory defined by $SYBASE on UNIX or %SYBASE% on Windows). This section describes the directory structure.
By default, Sybase IQ software is installed in a unique subdirectory under the Sybase directory. This subdirectory is called the installation directory. Other tools provided with Sybase IQ have unique subdirectories under the Sybase directory. This section describes only the subdirectory structure for Sybase IQ.
By default, the Sybase IQ directory is ASIQ-12_7. The location of ASIQ-12_7 varies, depending on where you install Sybase IQ. The ASIQ-12_7 directory is also referred to by the environment variable $ASDIR on UNIX or %ASDIR% on Windows.
The Sybase IQ directory holds a number of directories and files:
Demo directory (ASIQ-12_7/demo) – holds the sample database used in documentation examples. The database is held in the files asiqdemo.db, asiqdemo.iq, asiqdemo.iqmsg, and asiqdemo.iqtmp. When you start the database, an asiqdemo.log file is also created. This directory is not essential, but Sybase recommends that you keep it.
The subdirectory /demo/demodata holds the data to create the demo database, asiqdemo. You can use demo/mkasiqdemo.sql to re-create the demo database. The sample database can be used to demonstrate problems to Technical Support.
Scripts directory (ASIQ-12_7/scripts) – holds some scripts used in examples and when creating catalog objects like stored procedures. Do not edit these scripts. If you edit, delete, or move these scripts, the server will not operate properly.
Samples directories (/asa/c and /asa/javaSQL) – /c holds C++ examples that illustrate using ESQL (embedded SQL) and C with Adaptive Server Anywhere. Because Adaptive Server Anywhere and Sybase IQ share common code, you can modify these examples for use with Sybase IQ. The /javaSQL directory holds Java examples.
Executable directories – hold executables, libraries, help files, and the like.
On UNIX, executable subdirectories include ASIQ-12_7 subdirectories /bin, /lib, /logfiles, /res, /tix, and /usrlib. On Windows, these include ASIQ-12_7 subdirectories \h, \install, \java, and \win32.
Readme file – contains the latest information about installing and running Sybase IQ. Sybase strongly suggests that you print this file and read it.
ASIQ-12_7/readme.txt on UNIX or ASIQ-12_7\readme.txt on Windows