how to sort two columns in single job in datastage.
Answer / srinivas
We can do this by using the sort stage.
Specify the key columns what ever the you are sort.
Specify column name sort specifications
For example i have 3 columns data like below
Name score rank
abc 85 1
bcd 74 3
abc 82 2
bcd 67 4
When u r sort based on first two colmns
u have to specify two colmn names and specificaton
Like: Name Asc, Score Dsc.
Then u will get the output like below.
Name score rank
abc 85 1
abc 82 2
bcd 74 3
bcd 67 4
| Is This Answer Correct ? | 2 Yes | 1 No |
what are fact tables and dimension tables? give example assuming one table.
Define Merge?
Different ways a project can be moved to production ?...example ….export-import and Version control.
what will happen if we allow duplicates in datastage lookup abort drop record 1st value of duplicate record none
i have 3 diffrent tables. 1) US rate data 2)CANADA rate data and 3)MEXICO rate data. All 3 tables have 6 collumns each. 4 collumns are commun to all tables and 2 are diffrent. Now at target i want single table say Country rate which will have (4+2+2+2+1 flag) 11 collumns. I will add a flag collumn which will indicate country and will put nullable collumns which are not common to other. How i can implement this in datastage?
What is the difference between datastage and informatica?
How can we do null handling in sequential files
How a source file is populated?
Difference between server jobs & parallel jobs?
How complex jobs are implemented in datstage to improve performance?
What all are the different way to run a job?
What is lookup table?