Eo_sql


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Eo_sql
# 1  
Old 06-28-2007
Eo_sql

Hi
i am tring to run following script

#!/bin/ksh
su - linus -c "rsh -l linus psmf ORACLE_SID=PSMF;export ORACLE_SID;sqlplus pfmconfig/pfmconfig@PSMF.world<<EO_SQL
select name from service where name like '%cmm%' or name like '%CMM%';
EO_SQL">get1

i am getting following error

ksh: /tmp/sh20614.4: cannot open

can someone tell me why ????
# 2  
Old 06-28-2007
ksh: /tmp/sh20614.4: cannot open

Have you made sure your script is readable? & path included in $PATH
e.g chmod 775 script_name
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question