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 have a scenario with i/p as ID,salary with values 1,1000
2,2000 and 3,4000 i need an extra column in the o/p named
amount with values 2000,4000 and NULL. how can i get it?

Answer Posted / snr

Using TRS Satge with this logic

If ID=left(salary,1) then Salary*2 else 'Null'

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ds designer?

1163


Notification Activity

1460


What is the difference between server job and parallel jobs?

1200


What are data elements?

1235


Can you explain players in datastage?

1247


How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?

2665


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

3292


what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

1461


What are the repository tables in datastage?

1351


How many types of hash files are there?

1233


Define Routines and their types?

1262


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

1142


How to implement complex jobs in data stage?

1160


What is difference between server jobs & parallel jobs?

1089


What is a folder? Difference types of stages?

1241