i have input like this
Column 1 ,column 2
3,a
4,b
5.c
i want output
aaa
bbbb
ccccc
Ple help any one?
Answer Posted / naresh
Hi All plz saw the blow
first we read the data in seqential file
then taken transformer stage in tr stage we are create the two stage variable first stage variable like
column2 : colum1
then stage variable like
str(left(stage1,1),Right(stage1,1))
out put dragan drop the stage variable
finally load the data in target.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between operational data stage (ods) and data warehouse?
Give an idea of system variables.
What are data elements?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
What are the difference types of stages?
how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)
What are the main differences you have observed between 7.x and 8.x version of datastage?
What are the different type of jobs in datastage?
What is "fatal error/rdbms code 3996" error?
how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?
How to reverse the string using unix?
Name the command line functions to import and export the DS jobs?
how to add a new records into source?
Differentiate between validated and Compiled in the Datastage?
What is the importance of the exception activity in datastage?