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 |
in sequtial file 2 columns avaliable,iwant only one column load the target how do it.
How do you get log info into a file?
how CAN we remove duplicates in dataset?
Nls stands for what in datastage?
How and where you used hash file?
whom do you report?
What is exact difference between Parallel Jobs and server Jobs..
What is confirmed Dimension? what is Factless Fact? give one example? What are Additive, Semi-Additive Facts?
what is the use of invokation id
how can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction
source contains 2 columns comes to target 4 columns how
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?