<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ksh: @: parameter not set in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260521#M660324</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Not sure of where the set is supposed to go.&lt;BR /&gt;&lt;BR /&gt;Save a copy of the original 'oraenv' script and then add 'set +u'&lt;BR /&gt;&lt;BR /&gt;...on a new line immediately after the interpreter line so the script looks like:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;set +u&lt;BR /&gt;&lt;BR /&gt;Now try running it again.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 28 Oct 2010 11:27:53 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-10-28T11:27:53Z</dc:date>
    <item>
      <title>ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260511#M660314</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have installed an hpux system. It is in an itanium box. os B.11.31. with the september 2010 patch set.&lt;BR /&gt;&lt;BR /&gt;We have installed oracle 11g the latest download.&lt;BR /&gt;&lt;BR /&gt;when we run . oraenv i get the error&lt;BR /&gt;&lt;BR /&gt;ksh: @: parameter not set.&lt;BR /&gt;&lt;BR /&gt;can anyone tell me what i have done wrong?</description>
      <pubDate>Wed, 27 Oct 2010 12:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260511#M660314</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-27T12:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260512#M660315</link>
      <description>Hi Wayne:&lt;BR /&gt;&lt;BR /&gt;Does the script require any arguments to be passed?&lt;BR /&gt;&lt;BR /&gt;The $@ variable would hold the argument list.  If the script does 'set -u' to treat unset parameters as an error during parameter substitution, then I expect that this is the reason for the error.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 27 Oct 2010 13:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260512#M660315</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-27T13:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260513#M660316</link>
      <description>is the content of /etc/oratab emtpy? if yes it should not be empty.</description>
      <pubDate>Wed, 27 Oct 2010 16:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260513#M660316</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2010-10-27T16:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260514#M660317</link>
      <description>not sure if oraenv has a set -u?&lt;BR /&gt;&lt;BR /&gt;when i su to oracle and run . oraenv i get the error&lt;BR /&gt;&lt;BR /&gt;but when i just run oraenv dont get the error?&lt;BR /&gt;&lt;BR /&gt;New to Oracle here as well. BIG learning curve. Got the dba stumped so he passed onto me to look at as he says it is os related.</description>
      <pubDate>Thu, 28 Oct 2010 04:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260514#M660317</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-28T04:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260515#M660318</link>
      <description>have you execute $ORACLE_HOME/root.sh?</description>
      <pubDate>Thu, 28 Oct 2010 05:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260515#M660318</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2010-10-28T05:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260516#M660319</link>
      <description>YEs have run it.</description>
      <pubDate>Thu, 28 Oct 2010 06:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260516#M660319</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-28T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260517#M660320</link>
      <description>try it like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ export ORACLE_SID=&lt;A running="" sid="" target="_blank"&gt;&lt;BR /&gt;$ export ORAENV_ASK=NO&lt;BR /&gt;$ . oraenv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;post content of /etc/oratab and oraenv&lt;/A&gt;</description>
      <pubDate>Thu, 28 Oct 2010 06:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260517#M660320</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2010-10-28T06:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260518#M660321</link>
      <description>(alsmt1):/home/oracle:$ export ORACLE_SID=SMSMG&lt;BR /&gt;(alsmt1):/home/oracle:$ export ORAENV_ASK=NO&lt;BR /&gt;(alsmt1):/home/oracle:$ . oraenv&lt;BR /&gt;ksh: @: parameter not set&lt;BR /&gt;&lt;BR /&gt;/etc/oratab&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# This file is used by ORACLE utilities.  It is created by root.sh&lt;BR /&gt;# and updated by the Database Configuration Assistant when creating&lt;BR /&gt;# a database.&lt;BR /&gt;&lt;BR /&gt;# A colon, ':', is used as the field terminator.  A new line terminates&lt;BR /&gt;# the entry.  Lines beginning with a pound sign, '#', are comments.&lt;BR /&gt;#&lt;BR /&gt;# Entries are of the form:&lt;BR /&gt;#   $ORACLE_SID:$ORACLE_HOME:&lt;N&gt;:&lt;BR /&gt;#&lt;BR /&gt;# The first and second fields are the system identifier and home&lt;BR /&gt;# directory of the database respectively.  The third filed indicates&lt;BR /&gt;# to the dbstart utility that the database should , "Y", or should not,&lt;BR /&gt;# "N", be brought up at system boot time.&lt;BR /&gt;#&lt;BR /&gt;# Multiple entries with the same $ORACLE_SID are not allowed.&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;SMSMG:/orabin/oracle/product/11.2.0/dbhome_1:N&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     ORAENV&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;# $Header: buildtools/scripts/oraenv.sh /linux32/8 2010/03/25 04:17:55 ashrives Exp $ oraenv.sh.pp Copyr (c) 1991 Oracle&lt;BR /&gt;#&lt;BR /&gt;# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.&lt;BR /&gt;#&lt;BR /&gt;# This routine is used to condition a Bourne shell user's environment&lt;BR /&gt;# for access to an ORACLE database.  It should be installed in&lt;BR /&gt;# the system local bin directory.&lt;BR /&gt;#&lt;BR /&gt;# The user will be prompted for the database SID, unless the variable&lt;BR /&gt;# ORAENV_ASK is set to NO, in which case the current value of ORACLE_SID&lt;BR /&gt;# is used.&lt;BR /&gt;# An asterisk '*' can be used to refer to the NULL SID.&lt;BR /&gt;#&lt;BR /&gt;# 'dbhome' is called to locate ORACLE_HOME for the SID.  If&lt;BR /&gt;# ORACLE_HOME cannot be located, the user will be prompted for it also.&lt;BR /&gt;# The following environment variables are set:&lt;BR /&gt;#&lt;BR /&gt;#       ORACLE_SID      Oracle system identifier&lt;BR /&gt;#       ORACLE_HOME     Top level directory of the Oracle system hierarchy&lt;BR /&gt;#       PATH            Old ORACLE_HOME/bin removed, new one added&lt;BR /&gt;#       ORACLE_BASE     Top level directory for storing data files and&lt;BR /&gt;#                       diagnostic information.&lt;BR /&gt;#&lt;BR /&gt;# usage: . oraenv&lt;BR /&gt;#&lt;BR /&gt;# NOTE:         Due to constraints of the shell in regard to environment&lt;BR /&gt;# -----         variables, the command MUST be prefaced with ".". If it&lt;BR /&gt;#               is not, then no permanent change in the user's environment&lt;BR /&gt;#               can take place.&lt;BR /&gt;#&lt;BR /&gt;#####################################&lt;BR /&gt;#&lt;BR /&gt;# process aruments&lt;BR /&gt;#&lt;BR /&gt;SILENT='';&lt;BR /&gt;for arg in $@&lt;BR /&gt;do&lt;BR /&gt;    if [ "$arg" = "-s" ]; then&lt;BR /&gt;        SILENT='true'&lt;BR /&gt;    fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;case ${ORACLE_TRACE:-""} in&lt;BR /&gt;&lt;BR /&gt;    T)  set -x ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Determine how to suppress newline with echo command.&lt;BR /&gt;#&lt;BR /&gt;N=&lt;BR /&gt;C=&lt;BR /&gt;if echo "\c" | grep c &amp;gt;/dev/null 2&amp;gt;&amp;amp;1; then&lt;BR /&gt;    N='-n'&lt;BR /&gt;else&lt;BR /&gt;    C='\c'&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Set minimum environment variables&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# ensure that OLDHOME is non-null&lt;BR /&gt;if [ ${ORACLE_HOME:-0} = 0 ]; then&lt;BR /&gt;    OLDHOME=$PATH&lt;BR /&gt;else&lt;BR /&gt;    OLDHOME=$ORACLE_HOME&lt;BR /&gt;fi&lt;BR /&gt;case ${ORAENV_ASK:-""} in                       #ORAENV_ASK suppresses prompt when set&lt;BR /&gt;&lt;BR /&gt;    NO) NEWSID="$ORACLE_SID" ;;&lt;BR /&gt;    *)  case "$ORACLE_SID" in&lt;BR /&gt;            "") ORASID=$LOGNAME ;;&lt;BR /&gt;            *)  ORASID=$ORACLE_SID ;;&lt;BR /&gt;        esac&lt;BR /&gt;        echo $N "ORACLE_SID = [$ORASID] ? $C"&lt;BR /&gt;        read NEWSID&lt;BR /&gt;        case "$NEWSID" in&lt;BR /&gt;            "")         ORACLE_SID="$ORASID" ;;&lt;BR /&gt;            *)          ORACLE_SID="$NEWSID" ;;&lt;BR /&gt;        esac ;;&lt;BR /&gt;esac&lt;BR /&gt;export ORACLE_SID&lt;BR /&gt;&lt;BR /&gt;ORAHOME=`dbhome "$ORACLE_SID"`&lt;BR /&gt;case $? in&lt;BR /&gt;    0)  ORACLE_HOME=$ORAHOME ;;&lt;BR /&gt;    *)  echo $N "ORACLE_HOME = [$ORAHOME] ? $C"&lt;BR /&gt;        read NEWHOME&lt;BR /&gt;        case "$NEWHOME" in&lt;BR /&gt;            "") ORACLE_HOME=$ORAHOME ;;&lt;BR /&gt;            *)  ORACLE_HOME=$NEWHOME ;;&lt;BR /&gt;        esac ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;export ORACLE_HOME&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Reset LD_LIBRARY_PATH&lt;BR /&gt;#&lt;BR /&gt;case ${LD_LIBRARY_PATH:-""} in&lt;BR /&gt;    *$OLDHOME/lib*)     LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | \&lt;BR /&gt;                            sed "s;$OLDHOME/lib;$ORACLE_HOME/lib;g"` ;;&lt;BR /&gt;    *$ORACLE_HOME/lib*) ;;&lt;BR /&gt;    "")                 LD_LIBRARY_PATH=$ORACLE_HOME/lib ;;&lt;BR /&gt;    *)                  LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;export LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Put new ORACLE_HOME in path and remove old one&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;case "$OLDHOME" in&lt;BR /&gt;    "") OLDHOME=$PATH ;;        #This makes it so that null OLDHOME can't match&lt;BR /&gt;esac                            #anything in next case statement&lt;BR /&gt;&lt;BR /&gt;case "$PATH" in&lt;BR /&gt;    *$OLDHOME/bin*)     PATH=`echo $PATH | \&lt;BR /&gt;                            sed "s;$OLDHOME/bin;$ORACLE_HOME/bin;g"` ;;&lt;BR /&gt;    *$ORACLE_HOME/bin*) ;;&lt;BR /&gt;    *:)                 PATH=${PATH}$ORACLE_HOME/bin: ;;&lt;BR /&gt;    "")                 PATH=$ORACLE_HOME/bin ;;&lt;BR /&gt;    *)                  PATH=$PATH:$ORACLE_HOME/bin ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;# Locate "osh" and exec it if found&lt;BR /&gt;ULIMIT=`LANG=C ulimit 2&amp;gt;/dev/null`&lt;BR /&gt;&lt;BR /&gt;if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then&lt;BR /&gt;  if [ "$ULIMIT" -lt 2113674 ] ; then&lt;BR /&gt;&lt;BR /&gt;    if [ -f $ORACLE_HOME/bin/osh ] ; then&lt;BR /&gt;        exec $ORACLE_HOME/bin/osh&lt;BR /&gt;    else&lt;BR /&gt;        for D in `echo $PATH | tr : " "`&lt;BR /&gt;        do&lt;BR /&gt;            if [ -f $D/osh ] ; then&lt;BR /&gt;                exec $D/osh&lt;BR /&gt;            fi&lt;BR /&gt;        done&lt;BR /&gt;    fi&lt;BR /&gt;&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# Set the value of ORACLE_BASE in the environment.&lt;BR /&gt;#&lt;BR /&gt;# Use the orabase executable from the corresponding ORACLE_HOME, since the ORACLE_BASE of different&lt;BR /&gt;# ORACLE_HOMEs can be different.  The return value of orabase will be determined based on the value&lt;BR /&gt;# of ORACLE_BASE from oraclehomeproperties.xml as set in the ORACLE_HOME inventory.&lt;BR /&gt;#&lt;BR /&gt;# If orabase can not determine a value then oraenv returns with ORACLE_BASE unset.&lt;BR /&gt;#&lt;BR /&gt;# The existing value of ORACLE_BASE is only used to inform the user if the script has changed&lt;BR /&gt;# the value of ORACLE_BASE.&lt;BR /&gt;&lt;BR /&gt;ORABASE_EXEC=$ORACLE_HOME/bin/orabase&lt;BR /&gt;&lt;BR /&gt;if [ ${ORACLE_BASE:-"x"} != "x" ]; then&lt;BR /&gt;   OLD_ORACLE_BASE=$ORACLE_BASE&lt;BR /&gt;   unset ORACLE_BASE&lt;BR /&gt;   export ORACLE_BASE&lt;BR /&gt;else&lt;BR /&gt;   OLD_ORACLE_BASE=""&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;if [ -w $ORACLE_HOME/inventory/ContentsXML/oraclehomeproperties.xml ]; then&lt;BR /&gt;if [ -f $ORABASE_EXEC ]; then&lt;BR /&gt;      if [ -x $ORABASE_EXEC ]; then&lt;BR /&gt;         ORACLE_BASE=`$ORABASE_EXEC`&lt;BR /&gt;&lt;BR /&gt;         # did we have a previous value for ORACLE_BASE&lt;BR /&gt;         if [ ${OLD_ORACLE_BASE:-"x"} != "x" ]; then&lt;BR /&gt;            if [ $OLD_ORACLE_BASE != $ORACLE_BASE ]; then&lt;BR /&gt;               if [ "$SILENT" != "true" ]; then&lt;BR /&gt;                  echo "The Oracle base has been changed from $OLD_ORACLE_BASE to $ORACLE_BASE"&lt;BR /&gt;               fi&lt;BR /&gt;            else&lt;BR /&gt;               if [ "$SILENT" != "true" ]; then&lt;BR /&gt;                  echo "The Oracle base remains unchanged with value $OLD_ORACLE_BASE"&lt;BR /&gt;               fi&lt;BR /&gt;            fi&lt;BR /&gt;         else&lt;BR /&gt;            if [ "$SILENT" != "true" ]; then&lt;BR /&gt;               echo "The Oracle base has been set to $ORACLE_BASE"&lt;BR /&gt;            fi&lt;BR /&gt;         fi&lt;BR /&gt;         export ORACLE_BASE&lt;BR /&gt;      else&lt;BR /&gt;         if [ "$SILENT" != "true" ]; then&lt;BR /&gt;            echo "The $ORACLE_HOME/bin/orabase binary does not have execute privilege"&lt;BR /&gt;            echo "for the current user, $USER.  Rerun the script after changing"&lt;BR /&gt;            echo "the permission of the mentioned executable."&lt;BR /&gt;            echo "You can set ORACLE_BASE manually if it is required."&lt;BR /&gt;         fi&lt;BR /&gt;      fi&lt;BR /&gt; else&lt;BR /&gt;      if [ "$SILENT" != "true" ]; then&lt;BR /&gt;         echo "The $ORACLE_HOME/bin/orabase binary does not exist"&lt;BR /&gt;         echo "You can set ORACLE_BASE manually if it is required."&lt;BR /&gt;      fi&lt;BR /&gt;   fi&lt;BR /&gt;else&lt;BR /&gt;   if [ "$SILENT" != "true" ]; then&lt;BR /&gt;      echo "ORACLE_BASE environment variable is not being set since this"&lt;BR /&gt;      echo "information is not available for the current user ID $USER."&lt;BR /&gt;      echo "You can set ORACLE_BASE manually if it is required."&lt;BR /&gt;   fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Install any "custom" code here&lt;BR /&gt;#&lt;BR /&gt;&lt;/N&gt;</description>
      <pubDate>Thu, 28 Oct 2010 07:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260518#M660321</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-28T07:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260519#M660322</link>
      <description>&amp;gt;not sure if oraenv has a set -u?&lt;BR /&gt;&lt;BR /&gt;It appears the user has set -u before invoking oraenv.  The script fragment is sloppy and doesn't protect itself from pedantic users.&lt;BR /&gt;&lt;BR /&gt;You can use "set -o" to see if -u is set:&lt;BR /&gt;nounset          on&lt;BR /&gt;You can unset this by: set +u&lt;BR /&gt;&lt;BR /&gt;&amp;gt;JRF: Does the script require any arguments to be passed?&lt;BR /&gt;&lt;BR /&gt;It takes an optional "-s" but it's sloppy:&lt;BR /&gt;for arg in $@; do</description>
      <pubDate>Thu, 28 Oct 2010 08:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260519#M660322</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-28T08:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260520#M660323</link>
      <description>Oraenv&lt;BR /&gt;&lt;BR /&gt;is an oracle supplied or generated script so not sure who wrote it.&lt;BR /&gt;&lt;BR /&gt;Not sure of where the set is supposed to go.</description>
      <pubDate>Thu, 28 Oct 2010 11:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260520#M660323</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-28T11:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260521#M660324</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Not sure of where the set is supposed to go.&lt;BR /&gt;&lt;BR /&gt;Save a copy of the original 'oraenv' script and then add 'set +u'&lt;BR /&gt;&lt;BR /&gt;...on a new line immediately after the interpreter line so the script looks like:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;set +u&lt;BR /&gt;&lt;BR /&gt;Now try running it again.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 28 Oct 2010 11:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260521#M660324</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-28T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260522#M660325</link>
      <description>Thank you so much that has worked my DBA is now embarassed as I have told him it is actually an oracle problem and not os.&lt;BR /&gt;&lt;BR /&gt;THANK YOU.</description>
      <pubDate>Thu, 28 Oct 2010 11:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260522#M660325</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-28T11:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260523#M660326</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Wait.  The script should be running the HP_UX POSIX shell since '/bin/sh' should be a link to '/usr/bin/sh'.&lt;BR /&gt;&lt;BR /&gt;Your error report indicates that the Korn ('ksh') shell is running.  That tells me that your default shell for your 'oracle' account is 'ksh', *and* in fact you wrongly did:&lt;BR /&gt;&lt;BR /&gt;$ . oraenv&lt;BR /&gt;&lt;BR /&gt;...instead of:&lt;BR /&gt;&lt;BR /&gt;$ ./oraenv&lt;BR /&gt;&lt;BR /&gt;In the first case you simply "sourced" (read) the file into your current shell environment.  You need to actually *execute* it as shown in the second line above.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 28 Oct 2010 11:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260523#M660326</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-28T11:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260524#M660327</link>
      <description>&amp;gt;JRF: *and* in fact you wrongly did:&lt;BR /&gt;$ . oraenv&lt;BR /&gt;&lt;BR /&gt;Why do you think that?  The script fragment says it sets up the the environment.&lt;BR /&gt;(Remember I suggested you not have "#!" at the start of sourced files.  ;-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You need to actually *execute* it as shown in the second line above.&lt;BR /&gt;&lt;BR /&gt;That's NOT what the documentation says.  Wayne  followed directions. &lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2010 11:31:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260524#M660327</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-29T11:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260525#M660328</link>
      <description>set +u in the oreenv solved the problem</description>
      <pubDate>Fri, 29 Oct 2010 11:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260525#M660328</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-29T11:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260526#M660329</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;@ Dennis: Why do you think that? The script fragment says it sets up the the environment.  (Remember I suggested you not have "#!" at the start of sourced files. ;-)&lt;BR /&gt;&lt;BR /&gt;Oops [egg on face].  I just scanned the code and went right by the documentation :-(&lt;BR /&gt;&lt;BR /&gt;Ad for our discussion (elsewhere) of using or not using an interpreter line in sourced files, I now see why you suggest *not* to do so.  I'm changing my thinking :-)&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 29 Oct 2010 14:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260526#M660329</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-10-29T14:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: ksh: @: parameter not set</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260527#M660330</link>
      <description>&lt;!--!*#--&gt;Yes "set +u" avoids the error, but it is a band-aid. You must always source ". oraenv" the program or the variables set will not be available to your foreground shell. There are many side effects to sourcing oraenv with command arguments:&lt;BR /&gt;&lt;BR /&gt;1) The "#!/bin/sh" at the top is ignored.&lt;BR /&gt;2) $@ (no set +u) errors as it is null until the first use of a supplied argument.&lt;BR /&gt;3) Once an argument is specified to oraenv, $@ retains that value, even if you call oraenv again without arguments!!!&lt;BR /&gt;&lt;BR /&gt;Note oraenv works on Sun Sparc without modification. I have an SR open with Oracle support to use an env variable instead of cmd line arguments.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Alan</description>
      <pubDate>Wed, 01 Dec 2010 00:24:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-parameter-not-set/m-p/5260527#M660330</guid>
      <dc:creator>Alan S Martin</dc:creator>
      <dc:date>2010-12-01T00:24:23Z</dc:date>
    </item>
  </channel>
</rss>

