Bug in OCI Stage ???

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
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

There are some rules, how to do it and it will work. Wheter you read the manual or tell us your command, so that we can help you.

Wolfgang
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Basic rule you seem to be running afoul of is to have the same number of bound variables as columns in the stage. For example, for six columns referenced in the stage you must include :1 thru :6 in the custom sql.

-craig
badhri
Participant
Posts: 42
Joined: Tue Mar 19, 2002 8:15 pm

Post by badhri »

You have 59 columns in the query and you have reference ionly from :1 to :58. I guess you are missing on column.

Badhri ..
cthuga
Participant
Posts: 4
Joined: Wed Aug 21, 2002 7:23 am
Location: France

Post by cthuga »

I got the same problem when I wanted to use Oracle's sequences.
You must not define the column that will contain the values of the sequence in the column definition. just put it in User-Defined SQL, and It will work.
Post Reply