ORACLE_SID= ...: is not an identifier

Hello All,

On My solaris 5.10 SPARC, i am always having problems setting my Oracle variables.
even if it exists in the .profile file. below is an example

$ export ORACLE_SID=test
ORACLE_SID=test: is not an identifier

even that the echo is returning the variable

$ echo $ORACLE_SID
test
$

The shell you are using does not support the export syntax. Try /bin/ksh and it should work as expected.

Gary

... otherwise , split it into 2 commands :

ORACLE_SID=test
export ORACLE_SID
$ export ORACLE_SID=test
ORACLE_SID=test: is not an identifier

ctsgnb has the solution. The error message comes from the old Bourne Shell which does not support that syntax.