ORA:01036

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
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

ORA:01036

Post by satheesh_color »

Hi All,

I used OracleStage as an lookup.and i wrote an user-defined sql as:

select day_id,store_id, count(*) Record_count from dm_sale group by day_id,store_id.

I can able to ran the sql using Toad or sqlplus.

But while running the job it throws an error ora:01036:illegal variable/number

day_id decimal(key field)
store_id decimal(key field)
Record_count decimal

Please help me on how to resolve trhis issue.

Satheesh
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please post the exact SQL as displayed in your Oracle stage. Is this generated SQL or user-defined SQL?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ray, they did.

Satheesh, your problem has been asked and answered quite a number of times here already, so many times that I just don't feel the need to spell it all out again. Search for some unique part of your error message to see what I mean. For example, I did an Exact search for ORA-01036 (dash not colon) and found several conversations detailing both your problem and the solution.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply