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 are orabulk and bcp stages?

1129


What is ds designer?

1109


What is difference between join, merge and lookup stage?

1102


Does datastage support slowly changing dimensions ?

1110


What are the different layers in the information server architecture?

1129


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)

2389


How many types of sorting methods are available in datastage?

1075


Can you explain engine tier in information server?

1138


Name the third party tools that can be used in datastage?

1079


options available in sequence job to run,validate?

1325


What are the stages in datastage?

1085


Have you used Unstructured data?

1325


What is ibm datastage flow designer?

1153


Differentiate between datastage and informatica?

1187


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

1220