<?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: Oracle forms environment variable problem. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206112#M167544</link>
    <description>Michael: Not sure if this is what you are looking for, but we set all our Oracle and application environment variables in a script in /usr/local/bin, then that script gets called from everyone's .profile. That way only 1 script needs to be changed and anytime someone logs into the .profile those variables will get set.</description>
    <pubDate>Tue, 02 Mar 2004 08:39:49 GMT</pubDate>
    <dc:creator>Lisa  Mauer</dc:creator>
    <dc:date>2004-03-02T08:39:49Z</dc:date>
    <item>
      <title>Oracle forms environment variable problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206109#M167541</link>
      <description>Can anyone describe how evironment variables work inside of oracle forms?  Pointing me to docs works to ;-)&lt;BR /&gt;&lt;BR /&gt;I recently move a users home directory on a dev server and it broke a script that is being called by an oracle form.  The user has hardcoded $HOME in the script because it is not being initialized when called from the oracle form.  It's obvious why this broke the script.  I have little to no knowledge of oracle forms, so any advice will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 01 Mar 2004 15:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206109#M167541</guid>
      <dc:creator>Michael Langas</dc:creator>
      <dc:date>2004-03-01T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle forms environment variable problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206110#M167542</link>
      <description>Environment variables really don't work inside of forms.&lt;BR /&gt;&lt;BR /&gt;What they effect is the behavior of the forms server/servelets when they are started.&lt;BR /&gt;&lt;BR /&gt;The place to focus is the startup script for the forms server or the servlet configuration.&lt;BR /&gt;&lt;BR /&gt;Key variables are:&lt;BR /&gt;&lt;BR /&gt;FORMS_PATH&lt;BR /&gt;&lt;BR /&gt;This tells the server WHERE to look for forms.&lt;BR /&gt;&lt;BR /&gt;Here is a working environment dump&lt;BR /&gt;&lt;BR /&gt;_=/usr/bin/env&lt;BR /&gt;MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/mx/share/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/resmon/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/scr/share/man:/usr/dt/share/man:/opt/samba/man://opt/perl/man:/opt/aCC/share/man/%L:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/audio/share/man:/opt/ansic/share/man/%L:/opt/ansic/share/man:/opt/image/share/man:/opt/imake/man:/opt/ldapux/share/man:/opt/ldapux/ypldapd/man:/opt/sec_mgmt/share/man/%L:/opt/sec_mgmt/share/man:/opt/ssh/share/man:/opt/gnome/man:/opt/graphics/common/man:/opt/aCC/share/man&lt;BR /&gt;SHLIB_PATH=/ias/product/1.0.2/6iserver/lib:usr/lib:usr/ucblib&lt;BR /&gt;PATH=/ias/product/1.0.2/6iserver/bin:/ias/product/1.0.2/Apache/Apache/bin:/ias/product/1.0.2/6iserver/icache/lib:/ias/product/1.0.2/6iserver/ifs1.1/bin:/ias/product/1.0.2/6iserver/webcache/bin:/ias/product/1.0.2/6iserver/6iserver:/ias/product/1.0.2/6iserver/discwb33/util:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/mx/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/opt/ignite/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/scr/bin://opt/perl/bin:/usr/sbin/diag/contrib:/opt/aCC/bin:/opt/langtools/bin:/opt/perf/bin:/opt/OV/bin/OpC:/opt/imake/bin:/opt/sec_mgmt/spc/bin:/opt/sec_mgmt/bastille/bin:/opt/gnome/bin:/opt/mozilla:/opt/netscape:/opt/graphics/common/bin:/oracle/scripts/tst/compile:/ias/product/1.0.2/6iserver/forms60/sysalt&lt;BR /&gt;COLUMNS=80&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;LOGNAME=forms60&lt;BR /&gt;TMP=/utmp&lt;BR /&gt;LIBPATH=/ias/product/1.0.2/6iserver/network/jre11/lib/PA_RISC&lt;BR /&gt;ORACLE_SID=ias&lt;BR /&gt;ERASE=^H&lt;BR /&gt;TNS_ADMIN=/ias/product/1.0.2/6iserver/network/admin&lt;BR /&gt;DISPLAY=kch3lgf.juf.net:0.0&lt;BR /&gt;SHELL=/sbin/sh&lt;BR /&gt;ORATAB=/etc/oratab&lt;BR /&gt;HOME=/home/forms60&lt;BR /&gt;TERM=xterm&lt;BR /&gt;ORACLE_HOME=/ias/product/1.0.2/6iserver/&lt;BR /&gt;PWD=/home/forms60&lt;BR /&gt;TZ=CST6CDT&lt;BR /&gt;LINES=24&lt;BR /&gt;&lt;BR /&gt;Here is a working .profile&lt;BR /&gt;&lt;BR /&gt;Some things have to be adapted to your environment such as oracle home.&lt;BR /&gt;&lt;BR /&gt; @(#) $Revision: 66.1.1.1 $      &lt;BR /&gt;&lt;BR /&gt;# Default user .profile file (/bin/sh initialization).&lt;BR /&gt;&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt; stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;BR /&gt; stty hupcl cs8 -parity&lt;BR /&gt; tabs&lt;BR /&gt;&lt;BR /&gt;# Set up the search paths:&lt;BR /&gt;# PATH=/home/forms60/bin:$PATH&lt;BR /&gt;&lt;BR /&gt;# Set up the shell environment:&lt;BR /&gt; set -u&lt;BR /&gt; trap "echo 'logout'" 0&lt;BR /&gt;&lt;BR /&gt;# Set up the shell variables:&lt;BR /&gt; EDITOR=vi&lt;BR /&gt; export EDITOR&lt;BR /&gt;&lt;BR /&gt;ORACLE_SID=ias&lt;BR /&gt;#ORACLE_BASE=/oracle&lt;BR /&gt;export ORACLE_SID&lt;BR /&gt;export ORACLE_BASE&lt;BR /&gt;ORACLE_HOME=/ias/product/1.0.2/6iserver/&lt;BR /&gt;IAS_HOME=/ias/product/1.0.2/&lt;BR /&gt;export ORACLE_HOME&lt;BR /&gt;ORATAB=/etc/oratab&lt;BR /&gt;export ORATAB&lt;BR /&gt;&lt;BR /&gt;# . /usr/contrib/bin/setOraProfile&lt;BR /&gt;#echo "Starting oracle settings"&lt;BR /&gt;&lt;BR /&gt;export TMP=/utmp&lt;BR /&gt;#export SHLIB_PATH=${ORACLE_HOME}lib:usr/lib:usr/ucblib/:$SHLIB_PATH&lt;BR /&gt;SHLIB_PATH=${ORACLE_HOME}lib:usr/lib:usr/ucblib&lt;BR /&gt;export SHLIB_PATH&lt;BR /&gt;&lt;BR /&gt;export LIBPATH=${ORACLE_HOME}network/jre11/lib/PA_RISC&lt;BR /&gt;&lt;BR /&gt;PATH=${ORACLE_HOME}bin:${IAS_HOME}Apache/Apache/bin:${ORACLE_HOME}icache/lib:${ORACLE_HOME}ifs1.1/bin:${ORACLE_HOME}webcache/bin:${ORACLE_HOME}6iserver:${ORACLE_HOME}discwb33/util:$PATH:/oracle/scripts/tst/compile:/ias/product/1.0.2/6iserver/forms60/sysalt&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;# PATH=$PATH:/oracle/scripts/tst/compile&lt;BR /&gt;&lt;BR /&gt;echo $PATH &lt;BR /&gt;&lt;BR /&gt;TNS_ADMIN=${ORACLE_HOME}network/admin &lt;BR /&gt;export TNS_ADMIN&lt;BR /&gt;clear&lt;BR /&gt;. /ias/product/1.0.2/6iserver/forms60.sh&lt;BR /&gt;&lt;BR /&gt;ORACLE_SID=ias&lt;BR /&gt;export ORACLE_SID&lt;BR /&gt;#. /usr/contrib/bin/setOraProfile&lt;BR /&gt;# DISPLAY=10.1.102.149:0.0 &lt;BR /&gt;# export DISPLAY&lt;BR /&gt;# PATH=$ORACLE_HOME/bin:$PATH&lt;BR /&gt;# FORMS60_PATH=$ORACLE_HOME/forms60/jufdev;export FORMS60_PATH&lt;BR /&gt;&lt;BR /&gt;#. /usr/contrib/bin/setOraProfile&lt;BR /&gt;DISPLAY=10.1.102.108:0.0&lt;BR /&gt;export DISPLAY&lt;BR /&gt;PATH=$ORACLE_HOME/bin:$PATH&lt;BR /&gt;FORMS60_PATH=$ORACLE_HOME/forms60/sysalt;export FORMS60_PATH&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2004 15:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206110#M167542</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-01T15:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle forms environment variable problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206111#M167543</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response.  I'm still not sure I understand how the HOME variable will get set.  It's normally dynamic and I would like to keep it that way.  I don't want them hardcoding it in the .profile if at all possible.  Keep in mind I'm not talking about ORACLE_HOME.  They are picking stuff up from their home dir.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Mon, 01 Mar 2004 15:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206111#M167543</guid>
      <dc:creator>Michael Langas</dc:creator>
      <dc:date>2004-03-01T15:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle forms environment variable problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206112#M167544</link>
      <description>Michael: Not sure if this is what you are looking for, but we set all our Oracle and application environment variables in a script in /usr/local/bin, then that script gets called from everyone's .profile. That way only 1 script needs to be changed and anytime someone logs into the .profile those variables will get set.</description>
      <pubDate>Tue, 02 Mar 2004 08:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-forms-environment-variable-problem/m-p/3206112#M167544</guid>
      <dc:creator>Lisa  Mauer</dc:creator>
      <dc:date>2004-03-02T08:39:49Z</dc:date>
    </item>
  </channel>
</rss>

