i/p
1,a,1000
2,b,2000
3,c,3000
i want to get o/p as
o/p
1,a,3000
2,b,4000
3,c,5000
how it can be done on using datastage?

Answer Posted / ra

Simple.

ano,aname,amt
1,a,1000
2,b,2000
3,c,3000
column derivation write like this (amt+2000) then we will get o/p

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is size of a transaction and an array means in a datastage?

744


Why do we use exception activity in Datastage?

732


How to read the length of word in unix?

888


DB2 connector> transformer > sequential file Data will be exported into a csv format in a sequential file. This file will be send in a email using a sequence job. Problem here is, how to avoid sending a blank csv file? When I ran the job there are chances that it might return zero records but in the sequence job csv file is going blank. how can I avoid this? thanks

1041


What is the difference between hashfile and sequential file?

728






What are data elements?

663


To see hidden files in LINIX?

948


Differentiate between Join, Merge and Lookup stage?

649


How a server job can be converted to a parallel job?

626


How many types of sorting methods are available in datastage?

637


what is the use of materialized view?

967


for example You have One Table with 4 Columns (Mgr ID, Department ID, Salary, Employee ID). Can you find out the Average Salary and Number of Employee present per Department and Mgr

781


What is the difference between orabulk and bcp stages?

580


describe the Steps to confiure a Qlogic switch

1944


What is the difference between Datastage 7.5 and 7.0?

677