The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-08-2006
alfredo123 alfredo123 is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 44
Okay works now:
For others who are looking for this--
0403-057 Syntax error at line nn : `<' is not matched.

This is returned when using <<EOF, << EOF, <<-EOF, <<! etc. and all of the
permutations of syntax that preceed/follow.

If you are also finding this is a problem, I have managed to get around this by
wrapping the sql in a process to returning a value e.g.

ORA_RC=`$ORACLE_HOME/bin/sqlplus /nolog <<EOF
connect /as sysdba
................
EOF`