Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Nice notes on wait events Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Pending Distributed Transations Oracle
  • runsql_once.ksh Linux/Unix
  • cur_sql.sql Oracle
  • Facts about SCN and Rollback Segment Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • plan10g.sql Oracle
  • For Search and replace unix command. Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Rman Notes -1 Oracle

set_env_dba

Posted on 02-Aug-2005 By Admin No Comments on set_env_dba

# This File Sets all the Oracle Environment Variables and is called from

# Each Users’s . profile file.

B=`tput smso`

N=`tput rmso`

echo “”

echo “Enter $B 1 $N to access Oracle 10.1.0.3 – TEST ”

echo “”

echo “Enter $B 2 $N to access Oracle 10.1.0.3 – UOCTEST ”

echo “”

echo “Enter $B 3 $N to access Oracle 9.2 – UOCB ”

echo “”

echo “Enter $B 4 $N to access Oracle 10.1.0.3 – CADEV ”

echo “”

echo “Enter Your Choice [2] : c”

read CHOICE

case ${CHOICE:-1} in

1) . /oracle/oraprocs/oracle_env_10g_TEST;;

2) . /oracle/oraprocs/oracle_env_10g_UOCTEST;;

3) . /oracle/oraprocs/oracle_env_92_UOCB;;

4) . /oracle/oraprocs/oracle_env_10g_CADEV;;

esac

echo “”

unset N

unset B

Linux/Unix, shell

Post navigation

Previous Post: .profile
Next Post: oracle_env_10g_CADEV

Related Posts

  • Running select from V$ views from remote server Linux/Unix
  • Session_info.ksh Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • All About Trace Fils Oracle
  • cur_sql.sql Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Ports used by Oracle Software Oracle
  • oracle fast start failover best practice Oracle
  • Good Site for Oracle Internals Oracle
  • Small sample shell program Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme