- 
                    Reverse PivotingI have two columns of data 
 My input data
 Field Name Value
 Customer_ID 100
 Customer_Name ABC
 Customer_City Kolkata
 Customer_ID 200
 Customer_Name BCD
 CUstomer_City Mumbai
 
 Customer_ID 300
 Customer_Name CDE
 Customer_City Delhi
 
 Output date should be
 Customer_ID Customer_Name Customer_City
 100 ...
- 
                    Display the Rank in asending & descending order for salary columnCan anybody solve this interview question in DataStage? 
 My input is:
 EMPNO, DEPTNO, SALARY
 1 A 100
 2 A 4000
 3 A 400
 4 B 500
 5 B 150
 6 B 700
 
 I need extra column "Rank" in the output is:
 
 EMPNO, DEPTNO, SALARY,...
- 
                    Remove Duplicate StageIs it possible to find out the maximum salary by using remove duplicate stage? Can you any one explain? 
 
 Thanks in advance
- 
                    Convert multiple rows into single rowhi... 
 
 i have sourse like
 
 name,city
 johny,newyork
 johny,mumbai
 johny,del
 
 want output like.....
 
 name,city1,city2,city3
 johny,nework,mumbai,delhi
 -----------------------------------------
 thanks in advance...
- 
                    
- 
                    
- 
                    Job sequencingI have 3 jobs A,B & C, which are dependent each other, I want to run A & C jobs daily and B job run only on Sunday. How can I do it? 
- 
                    Lookup and JoinWhy lookup is heavy weight and join is light weight operator? 
 
- 
                    Flatfiles(.txt,.csv,xml) to laod sequential files?How can we load three different flat files(1 file .txt,2 file .csv,3 file xml) to sequential file at a time? 
- 
                    DataStage Technical Questions1. Is the Hash file is active or passive? If we take as source ?2. can u take seq file as look up?3. In hash file dynamic 30, there r two types:1)genaric2)specific what is the meaning?4. how to connect MERGE STAGE while source as two tables?5. what is the purpose of MERGE?6. how can DS job scheduled in Unix?7. how do u know how many rows rejected?8. use of universe stage?9. what is SEQ file buffer?10. diff... 
- 
                    
- 
                    Distribution of Number of rows equally.Hi all, 
 I have 100 rows in a table and want to distribute the data by 4 equal parts and write to four sequential file. here the source data keeps changing. Example : if source data is having 1000 rows the target files have to get 250 rows each in the four files.
 1000/4 = 250 each
 100/4 =25 each
- 
                    Single column with multiple rows should be converted into single row with commas in datastageCan any one help.... 
 I have single column in Source like.....
 a
 b
 c
 d
 want target as.....
 a,b,c,d
 thanks in advance
 
- 
                    What is the architecture of your Datastage projectI came across this question many times in interview, In specific what can i answer..... Please help.. 
- 
                    Scenario in datastageinput is 
 cola
 1
 2
 3
 this should be populated at the output as
 
 cola
 1
 2 2
 3 3 3
- 
                    Datastage scenario - Flat fileSource is a flat file and has 200 records . These have to split across 4 outputs equally . 50 records in each . 
 
 The total number of records in the source may vary everyday ,according to the count records are to split equally at 4 outputs.
 
 Could someone post an answer for this question.
 Thanks
- 
                    How is Cartesian join performed using a join stage?I have 
 source
 10
 20
 20
 reference 10
 20
 20
 
 can someone tell me how a cartesian join performed using a join stage in datastage.
 
 Thanks
 Sravanthi
- 
                    
- 
                    Split Data From Flat FileHow do you split the data from a flat file in to columns? 
- 
                    Sequential File StageExplain some scenarios where a sequential file stage runs in parallel? 
DataStage Interview Questions

 
  
  
  
		
Ans