Setting Up SAPDBA Environment Variables
An environment variable gives SAPDBA information about the operating environment of your system. For example, there are environment variables for your terminal type (variable
TERM ) and the language in which you want to use SAPDBA (variable SAPDBA_LANGUAGE ). Environment variables apply to a user id, so you need to make sure they are correct for each SAPDBA user.Procedure
You check and set environment variables for SAPDBA differently according to your operating system, UNIX or NT.
UNIX
- With the C shell:
env
- With the Bourne (or Korn) shell:
set
The system displays the current values of all environment variables.

Users
informix and <sid>adm do not normally need to set environment variables because they should have been defined when the R/3 System was installed. The only variables that these users might need to set are TERM (that is, for screen handling) and SAPDBA_LANGUAGE .Users other than
informix and <sid>adm need to check that environment variables are set as follows:Environment Variable |
Value |
Example |
INFORMIXDIR |
/informix/<SID> |
/informix/JP2 |
INFORMIXSERVER |
<hostname><sid>shm |
hw1143jp2shm |
INFORMIX_DBID |
<sid> |
jp2 |
PATH |
/usr/sap/<SID>/SYS /exe/run/sapdba |
/usr/sap/JP2/SYS/exe/run /sapdba |
setenv <variable name> <variable value>
For example, to set the
TERM variable to vt100 :setenv TERM vt100
<variable name>=<variable value>
export <variable name>
For example, to set the
TERM variable to vt100 :TERM=vt100
export TERM
NT
You do not normally need to set environment variables specifically for SAPDBA with NT.
set
The system displays the current values of all environment variables.
set <variable name>=<variable value>
For example, to set the value of the variable
INFORMIXDIR :set INFORMIXDIR=d:\INFORMIX\<SID>