Page 1 of 1

automatching columns with hyphens

Posted: Tue May 23, 2006 8:28 am
by tuj
Hi all. I am tring to redevelop some DataStage jobs and I am having trouble with the automatch in setting up the transform. My source is a CSV file, and my destination is DB2. Both table definitions contain multiple columns with hyphens in the names. When the automatch runs in the transform, it only matches up columns that are not hyphenated.

The problem is that I have A LOT of tables and columns like this, and I really don't want to have to set up each individual column, especially when the source and destination names are exactly the same! :x

Can someone give me some ideas as to how I can get around this problem? Thanks!

Posted: Tue May 23, 2006 8:39 am
by ArndW
Can you use the positional matching instead? Also, as a last resort you might be able to create a .dsx export file and use a global replace in that text file and re-import it.

Posted: Tue May 23, 2006 8:40 am
by chulett
Hypens? As in dashes? I don't recall DataStage supporting column names with hyphens in them. :?

In any case, if they occur in the same order you can select them all from one side and 'drop' them on the other.