Required environment variables are set by environment source files on UNIX and by the Sybase IQ installation on Windows.
Running UNIX environment source files
Issue the following command to set all required environment variables.
For the Bourne/Korn shell:
. $SYBASE/IQ-15_1/IQ-15_1.sh
For the C shell:
source $SYBASE/IQ-15_1/IQ-15_1.csh; rehash
On Windows platforms, the installation program automatically sets all environmental variables, so no changes are necessary. However, if you must set optional variables or change defaults, use one of the following procedures, as appropriate for your operating system.
Setting environment variables on Windows
On your desktop, right-click My Computer and select Properties from the submenu.
Click the Advanced tab.
Click the Environment Variables button.
The Environment Variables dialog opens.
If the environment variable does not already exist, click New and type the variable name and its value in the spaces provided; then click OK.
If the variable does exist, select it from the list of System Variables or User Variables, click Edit, and make any modifications in the Variable Value field. Then click OK to capture the setting.
See the Microsoft Windows documentation for an explanation of user variables and system variables.
Setting environment variables on UNIX
To check the setting for an environment variable, use:
echo $variable-name
For example, to see the setting for the $SYBASE variable:
% echo $SYBASE
/server1/users/test/sybase
In one of your startup files (.cshrc, .shrc, .login), add a line that sets the variable.
In some shells (such as sh, bash, ksh) the line is:
VARIABLE=value;export VARIABLE
In other shells (such as csh, tsch) the line is:
setenv VARIABLE “value”
For details about variables Sybase IQ uses, see: