Search found 2 matches

by Tony
Thu Nov 21, 2002 6:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transpose of a datavalue seperated by Commas
Replies: 12
Views: 3274

Split the three columns into five columns using a Transformer stage (derivation expressions using Field() as discussed above), then use a Pivot stage. Manual for the Pivot stage is Pivot.pdf and is in the Packages folder of your DataStage client CD. It has good examples. Welcome to the forum, Tony;...
by Tony
Wed Nov 20, 2002 11:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Transpose of a datavalue seperated by Commas
Replies: 12
Views: 3274

There's usually multiple ways to solve any problem, but the simplest thing for this situation would be to use FIELD. From memory: FIELD(DATA,",",1) -> Col1 FIELD(DATA,",",2) -> Col2 etc You tell it the string to parse, what the seperator is and which occurance you want. -craig H...