ODBC problem

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
swathi Singamareddygari
Participant
Posts: 48
Joined: Fri Feb 29, 2008 1:09 am
Location: Bangalore

ODBC problem

Post by swathi Singamareddygari »

Hi all,

I am facing problem with odbc stage.
In my job i am doing sparse lookup with ODBC stage and Lookup query is simple select query,but i am getting fatal error as

" [IBM(DataDirect OEM)][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]NUMBER OF HOST VARIABLES SPECIFIED <> NUMBER OF PARAMETER MARKERS."

with normal lookup its working fine,i am not getting what is the problem with sparse lookup.

If any one knows please help me
Thanks&Regards
S.Swathi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You have a mismatch between the number of parameter markers (the ?) and key columns in the stage. Can you post your 'simple select' and explain how you configured the stage?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moderator - please move to the PX forum.
-craig

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