IB - Developer Center    Forums  Hop To Forum Categories  iWay Products    Combining mutiple values into single value.
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Kar
Silver Member
Posted
Hi,

I have input file with three fields
Cust Id, Name, State

How do I load into target table with all the three fields into one field.

Target table is Customer
Field CustInfo (Cust Id + Name + State)

I am using Data Migrator 7.4 on HP Unix.

Thanks

Kartik
 
Posts: 43 | Registered: August 09, 2007Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
I haven't used data migrator, but you should be able to do a define or a compute. The field size needs to be equal to the sum of the three input fields plus 2.
DEFINE FILE yourfile
CUSTINFO/A200=CUST_ID||(' '|NAME)||(' '|STATE);
END


Pat
WF 5.3.2 AIX, NT, AS/400, Focus AS/400, AIX, Oracle, JDE, DB2, Lotus Notes
 
Posts: 525 | Location: TX | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Research how to use the Transformation Calculator. How to do concatenation is listed with that.

Good luck.

Jessica Bottone


Data Migrator 5.3 and 7.1
SQL Server, Oracle, DB2
Windows
 
Posts: 106 | Registered: January 18, 2007Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  iWay Products    Combining mutiple values into single value.

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.