remove null values appended to data

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

kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Harryhome, when you execute a SELECT sql in DB2 for that column, do you get "ABC " or "ABC"?

Based on your answer, we can first find whether it is from DB2 or DS. If you have defined the column as CHAR(4) in source and target datasets (in DataStage), no function will help you to remove trailing WHITESPACE.

Also, check PADCHAR environment variable..
Kandy
_________________
Try and Try again…You will succeed atlast!!
Post Reply