Advertisement

08.28.2007 at 01:34PM PDT, ID: 22792742
[x]
Attachment Details

Unix script / sqlplus question

Asked by rvaede in Unix Network Security Questions, Unix Operating Systems, SCO Unix

Tags: sqlplus, script, unix

I have a simple bash script that will make an SQLPlus call.  
The flow looks like it executes the:
echo "begin"
then the echo "mama"
then the makes the SQLPLUs call.  WHY?????.   Can I change the logic run??

#!/bin/sh
##set -x
echo " begin"

#########   ORAQA CHECK   #############################################
sqlplus xxxapc/xxxboy@myoracle << EOSQL &
host touch /home/jack/oramm.check
host echo "hoooy"
quit
EOSQL
echo "mama"
Start Free Trial
[+][-]08.28.2007 at 01:36PM PDT, ID: 19786699

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Unix Network Security Questions, Unix Operating Systems, SCO Unix
Tags: sqlplus, script, unix
Sign Up Now!
Solution Provided By: amit_g
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.28.2007 at 01:40PM PDT, ID: 19786732

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628