how to sort two columns in single job in datastage.
Answer / chinna kannapuram
Just select those two fields as key fields in Sort stage or
in any other stage like Transformer stage. it will work.
| Is This Answer Correct ? | 1 Yes | 2 No |
eno ename 1 qaz 1 wsx 1 edc 2 zxc 2 asd 3 qwe 3 wer 3 tru 4 rgj Output: eno ename count 1 qaz,wsx,edc 3 2 zxc,asd 2 3 qwe,wer,tru 3 4 rgj 1 I want the above output to be solved by DataStage as well and I have to write SQL query for the same output.
I am defining one varaible parameter date in job parameters.I want use this variable date in where clause in source query.
What can we do with datastage director?
Drop duplicate records ... SOURCE LIKE .......... ID flag1 flag2 100 N Y 100 N N 100 Y N 101 Y Y 101 N Y 102 Y N 103 N N 104 Y Y 105 N N 106 N Y 102 N Y 105 Y Y in above file if any id having both the flags as "N" then that corresponding id records should be dropped, in above case o/p should be as ID flag1 flag2 101 Y Y 101 N Y 102 Y N 102 N Y 104 Y Y 106 N Y Steps to do : 1) Identified the id’s that got duplicated (both the flag values having vales “N”) 2) Look up with these id’s to existing id’s to drop .
one file contains col1 100 200 300 400 500 100 300 600 300 from this i want to retrive the only duplicate like this tr1 100 100 300 300 300 how it's possible in datastage?can any one plz explain clearley..........?
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
tab1 tab2 1,a 1,d 2,b 3,c perfoms outerjoin what is the o/p? write sql query for outerjoin?
how to transfer file from one system to another system in unix? which cmd to be use?
what is the main difference between sorragate key n primary key in one word
how can you generate sequence number using only the sequential file stage?
How to convert RGB Value to Hexadecimal values in datastage?
What is orabulk stage?