"STRING" in a WHERE clause of FILTEER Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Camaj
Premium Member
Premium Member
Posts: 15
Joined: Wed Sep 15, 2004 9:24 am

"STRING" in a WHERE clause of FILTEER Stage

Post by Camaj »

Bonjour,

I would like to use a STRING comparaison in a WHERE clause of FILTER stage but the result is always empties.

The comparaison field is CHAR(10). When I use a numeric field every thing is working fine, but with a CHAR I got anything.

ACTY_TYP='FLIGHT' (ACTY_TYP is CHAR) does't work but MKTG_PGM_ID=3537 (MKTG_PGM_ID is INT) is working fine.

Somebody can help me !
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

Is your field trimmed? I would expect a char(10) to come through as "FLIGHT " or " FLIGHT" instead of "FLIGHT".
Post Reply