10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have written this in my script but while running i am getting syntax error `(' unexpected.
unload to "$BACKUP_DIR/n_fac_fid-$clliname" select * from n_fac_fid where fac_accesskey in (select fac_accesskey From n_fac_ap_fid where ap_clli="$clliname");
Any help appreciated. (3 Replies)
Discussion started by: suryanmi
2. Shell Programming and Scripting
if ] ; then
echo "Some failure."
I tried many time to detect the unzip error, but it keep show the syntax error wherever how I change the syntac. Hope someone can help me fix the issue, thanks.
Please use code tags next time for your code and... (5 Replies)
Discussion started by: duncanyy
3. UNIX for Dummies Questions & Answers
hi! just want to seek help on this error: syntax error near unexpected token 'do
this is my script
for y in 27 25
exemmlmx -c "ZEEI;" -n XRT$y >> blah
what can be wrong? thanks! (6 Replies)
Discussion started by: engr.jay
4. Shell Programming and Scripting
Am very new to Unix and am currently Involved in Migrating some Shell Scripts from AIX 4 to Solaris 10.
While using teh for loop am getting the below error:
$ echo $SHELL
$ for file in $(ls *SEBE*)
syntax error: `$' unexpected
while the same works without issue on... (4 Replies)
Discussion started by: paragkhanore
5. Shell Programming and Scripting
This is an output of my script errored out for "Syntax error near unexpected token `(' " Can someone tell me whats wrong with my script.
Below is my original script pasted.
Script Creation Date 01/21/2010
... (7 Replies)
Discussion started by: raghunsi
6. UNIX for Advanced & Expert Users
When I run the below shell script I'm getting the error " syntax error near unexpected token `"
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM :: :
REM :: Notes :
REM ============================== set ENVIRONMENT... (2 Replies)
Discussion started by: tomailraj
7. Shell Programming and Scripting
i am getting following syntax error ...kingly advice why is it coming ??
find . -name "common.log"
if ; then
./a.sh: line 7: syntax error near unexpected token `fi'
./a.sh: line 7: `fi' (9 Replies)
Discussion started by: himvat
8. Shell Programming and Scripting
hi can anyone pls look into this....shell script...
Pls find the error below:
> sh -n tmp
tmp: syntax error at line 28: `(' unexpected
isql -Usa -S$1 -P`grep $1 dbpassword|cut -d ":" -f3` -w2000 -b<<!
set nocount on
declare @i int
declare @dbname char(6)
declare @tmp int
if... (10 Replies)
Discussion started by: rajashekar.y
9. Shell Programming and Scripting
I want to create a script that polls every hour a directory for the existence of a file. The file I look for is a `token` dropped by an external process at the completion of a successful FTP process. I wrote this script `checkfile.ksh`:
if ] then
mailx... (5 Replies)
Discussion started by: alan
I compiled C program under SUN OS sparcv9 ...I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option ..-memalign=1i as I remmber ...after running the program I got the below error please let me KNow more details what should... (2 Replies)
Discussion started by: atiato