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
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
What is datastage?
Have you have ever worked in unix environment and why it is useful in datastage?
i WANTED TO USE THE RANGE LOOKUP SCENARIO IN DATASTAGE 7.5.2 SRVER JOB.i HAVE A DATE FIELD IN SOURCE AND I SHOULD MATCH IT WITH A FIELD IN LOOKUP FILE.BUT,THE FIELDS SHOULD MATCH EVEN THOUGH THERE IS SOME RANGE.CAN SOMEONE TELL ME HOW CAN I DO THAT. THANKS
What are the stages in datastage?
what is ds administrator used for?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
What are the repository tables in datastage?
Where do the datastage jobs get stored?
What are system variables and sequencers in datastage
What are the components of ascential data stage?
what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?
Name the different types of Lookups in Datastage?
What are the different layers in the information server architecture?
Difference between data warehousing and olap?