![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get_source[34]: 0403-057 Syntax error at line 66 : `"' is not matched. | vishal_ranjan | Shell Programming and Scripting | 1 | 05-15-2008 06:48 AM |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| "syntax error at line 21 :'done' unexpected." error message" | ibroxy | Shell Programming and Scripting | 3 | 08-08-2007 06:45 AM |
| Help! "Bus error" and "CPU Panic" box wont boot | hcclnoodles | SUN Solaris | 3 | 10-05-2006 04:38 PM |
| Awk Syntax Error "!~" | yongho | Shell Programming and Scripting | 6 | 07-01-2005 12:01 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Getting error "syntax error at line 78 : `<' unmatched"
Hi Guys,
I have a following code in cm1.sh script. cnt=`sqlplus -s <un>/<pwd> << !EOF set heading off verify off pagesize 0 select count(*) from fnd_svc_components where component_name like '%Mailer%' and component_status != 'RUNNING'; exit; !EOF` echo $cnt if [ $cnt -gt 0 ]; then sqlplus -s <un>/<pwd> << !ABC #spool wfmailers.txt select component_name, component_status from fnd_svc_components where component_name like '%Mailer%' and component_status != ' RUNNING'; #spool off exit; !ABC fi I am getting following error when executing the script. ./cm1.sh[77]: syntax error at line 78 : `<' unmatched Line 78 is sqlplus -s <un>/<pwd> << !ABC I checked that there is no white space before '!ABC' and '!EOF'. Pl. help. Thanks in Adv Sam |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|