re:error :column mismatch

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
panic
Participant
Posts: 17
Joined: Fri Sep 23, 2005 5:58 pm

re:error :column mismatch

Post by panic »

if column name (varchar) datatype then column name (integer) datatype
else integer (datatype).

i wrote in the transformer stage

If lo.custid Matches ("1970" Or "1971") Then in_data.value Else 0



is it the correct way or not.i have doubt on the quotation marks.
if not suggestions plzz.
thanks
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Go back to your original post and read the answer supplied there.


ETIQUETTE: Do NOT multiple post the same question.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
I think the correct way of doing is

If lo.custid Matches "1970" : char(253) : "1971" Then in_data.value else 0


OR

If lo.custid Matches 1970 : char(253) : 1971 Then in_data.value else 0


Ketfos
Post Reply