Start of Content Area

Procedure documentationSetting Up SAPDBA Environment Variables  Locate the document in its SAP Library structure

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

  1. To check the current value of your environment variables, do the following:
  2. - With the C shell:

    env

    - With the Bourne (or Korn) shell:

    set

    The system displays the current values of all environment variables.

    Note

    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

  3. To set an environment variable, do the following:

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.

  1. To check the current value of your environment variables, enter the following command:
  2. set

    The system displays the current values of all environment variables.

  3. To set an environment variable, enter the following command:

set <variable name>=<variable value>

For example, to set the value of the variable INFORMIXDIR :

set INFORMIXDIR=d:\INFORMIX\<SID>