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

Explain connectivity between datastage with datasources?

942


table actions available in oracle connector?

1557


What is the difference between operational data stage (ods) and data warehouse?

1179


Describe the main features of datastage?

1039


How many types of hash files are there?

1122


Define oconv () and iconv () functions in datastage?

1343


What is difference between join, merge and lookup stage?

1041


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5046


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

2407


How you Implemented SCD Type 1 & Type 2 in your project?

4075


Why fact table is in normal form?

1150


What are the job parameters?

1161


What is the purpose of pivot stage and types of containers in datastage

996


How to manage date conversion in Datastage?

1071


What is the difference between passive stage and active stage?

1413