automatching columns with hyphens

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
tuj
Participant
Posts: 1
Joined: Tue May 23, 2006 8:00 am

automatching columns with hyphens

Post 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!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

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