Solved

AIX ksh   0403-057 Syntax error: `(' is not expected error???

Posted on 2006-07-11
2
11,142 Views
Last Modified: 2013-11-17
howdy,

I am running the command below  on AIX, 5.3. its the oracle exp program.  Im pretty sure the syntax is correct.

exp scott/tiger file=test.dmp tables=(lsc_account)

instead of following my command as instructed. Its refusing with this lousy excuse

0403-057 Syntax error: `(' is not expected error

any ideas?

0
Comment
Question by:citywesthomes
2 Comments
 
LVL 14

Expert Comment

by:sjm_ee
ID: 17094211
A quick search using google suggests that the round brackets are not required. Try it as follows:

exp scott/tiger file=test.dmp tables=lsc_account
0
 
LVL 20

Accepted Solution

by:
tfewster earned 50 total points
ID: 17095096
You're missing a $ symbol; The ksh syntax to assign the output of a command to a variable is:
VARIABLE=$(command)        
or
VARIABLE=`command`
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now