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 / hussy

Hi,

My suggestion is instead of calculating for each column.

Create a stage variable (amt+2000)----> STG1

Call this STG1 in your derivation output amount column.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

2710


What is usage analysis in datastage?

821


What is a merge in datastage?

774


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 account and directory options ?

628






Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1672


What are the main differences you have observed between 7.x and 8.x version of datastage?

626


Explain the importance of surrogate key in data warehousing?

719


Can you highlight the main features of ibm infosphere information server?

642


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

1905


how to export or import the jobs in .ISX file

724


What could be a data source system?

581


Describe link sort?

652


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3273


Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

1755