I have a file it contain 2 records like empname,company as
Ram, Tcs and Ram, IBM. But i want empname,
company1,company2 as Ram, TCS,IBM in the target. How?

Answer Posted / murali

Take the seq file stage and transformer and data set. in
transformer stage take two stage variables st1,st2 set the
intial value as '0' and data type is 'varchar' for st1
in st2 by using concatenate st1:',':st2

Is This Answer Correct ?    0 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe stream connector?

919


Explain entity, attribute and relationship in datastage?

732


Explain Quality stage?

769


Can we use target hash file as a lookup ?

2919


Define orabulk and bcp stages?

788






Can you explain link buffering?

824


1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do

1749


On which interface you will be working as a developer?

718


AGGREGATOR default datatype

1030


How to read multiple files using a single datastage job if files have the same metadata?

847


Describe routines in datastage? Enlist various types of routines.

672


What is the difference between the local container and shared container?

732


What is meta stage?

706


What are datastage sequences?

777


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3350