Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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)

2384


How do y read Sequential file from job control?

15960


What is the difference between account and directory options ?

1182


Have you used Unstructured data?

1319


What are orabulk and bcp stages?

1124


how to add a new records into source?

2000


What is use Array size in datastage

1779


Explain how a source file is populated?

1365


What are transforms and what is the differenece between routines and transforms?

1065


Can you implement SCD2 using join, transformer and funnel stage?

1557


What are the steps needed to create a simple basic datastage job?

1235


What is a folder? Difference types of stages?

1175


What are system variables and sequencers in datastage

1115


Whats difference betweeen operational data stage (ods) and data warehouse?

1114


What are the types of hashed files in data stage

1108