Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    {solved}concatenation of row values and store into one row in dmc

Read-Only Read-Only Topic
Go
Search
Notify
Tools
{solved}concatenation of row values and store into one row in dmc
 Login/Join
 
Member
posted
hi,

i am having my source columns and values as

c1 c2 c3
1 1 a
1 2 b
1 3 c
2 1 d
2 2 e

and i want to load this values in to target as

c1 c3
1 abc
2 de

that is values of c3 must be concatenated to single value for each value of c1 and loaded into target.

eg:
For c1 = 1
c3 = a || b || c

For c1 = 2
c3 = d || e

can any one help me how to do this in dmc..

thanks in advance.

thenmozhi

This message has been edited. Last edited by: thenmozhi,
 
Posts: 8 | Registered: September 30, 2008Report This Post
Expert
posted Hide Post
Did you do a search to see if this has been asked before ??

The following link show how to do this in WebFOCUS.

http://forums.informationbuild...791008331#2791008331


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Guru
posted Hide Post
Im guesssing that by "in dmc" you mean that you are using the Data Management Console with a DataMigrator server and want to create a Data Flow with with a SQL SELECT statement. You can do that like this.

 SELECT 
   C1 , 
    MAX(IF (C2  = 1 , C3 , '' ))|| MAX(IF (C2  = 2 , C3 , '' ))|| MAX(IF (C2  = 3 , C3 , '' )) AS C3 
FROM 
   c123 T1 
 GROUP BY 
   C1 
 


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    {solved}concatenation of row values and store into one row in dmc

Copyright © 1996-2020 Information Builders