Fatal Error & Warning , while runing the Job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kimbal
Participant
Posts: 21
Joined: Wed Nov 22, 2006 12:21 pm

Fatal Error & Warning , while runing the Job

Post by kimbal »

Hi All

Iam runing a job in windows ,My source is In Oracle.i am using a query , THE JOB GOT ABORTED .

[b]Error as:
missing right parenthesis

and the warning as
Attempting to Cleanup after ABORT raised in stage [/b]

kindly do the needful .
Raghavendra
Participant
Posts: 147
Joined: Sat Apr 30, 2005 1:23 am
Location: Bangalore,India

Post by Raghavendra »

Can you tell us what is the query you are using.
That will help people to analyse the problem.
Raghavendra
Dare to dream and care to achieve ...
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

ORA-00907: missing right parenthesis

Cause: A left parenthesis has been entered without a closing right parenthesis, or extra information was contained in the parentheses. All parentheses must be entered in pairs.

Action: Correct the syntax and retry the statement.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
kimbal
Participant
Posts: 21
Joined: Wed Nov 22, 2006 12:21 pm

Post by kimbal »

Thanks for your reply..

I am runing a query to change Fiscal year for my project.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Doesn't really matter what your query is, you've used user-defined sql and it is not syntactically correct. Fix it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Examine the SQL that was sent to Oracle, find where the missing right parenthesis ought to go, and supply it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
say2prabhu1
Participant
Posts: 27
Joined: Mon Jul 09, 2007 1:06 am

Post by say2prabhu1 »

First run the SQL query in Toad or SQL navigator and check whether the query is returning the rows or not.
You could have missed some comma operator in the SQL query.
Then copy the same query from TOAD and paste it in Datastage Oracle stage.
Post Reply