Solved

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

Posted on 2006-07-11
2
10,873 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

21 Experts available now in Live!

Get 1:1 Help Now