Running Oraenv Shows Error ksh: .: line 38: @: parameter not set

(Doc ID 1287911.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

If one does run:
set -u
. oraenv
then one can see the error:
ksh: .: line 38: @: parameter not set

Changes

The followinng command got executed manually or via the .profile file at login before oraenv got executed:
set -u

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms