-
Datastage scenario - Flat file
Source 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 File
How do you split the data from a flat file in to columns?
-
Sequential File Stage
Explain some scenarios where a sequential file stage runs in parallel?
-
Datastage scenario - two columns in the source
I have two columns in the source , COl A and Col B .
Input is like
Cola Colb
100 ABCDEF
I should achieve the output as
Cola Colb
100 A
100 B
100 C
100 D
100 E
100 F
Note : Colb is not of fixed length .
-
How to convert varchar to date ?
i have one source file which contains the below data
input column: DOB varchar(8)
20000303
20000409
1999043
1999047
validate the Date if valid date else pass the default-1999-12-31,convert varchar to date -
Data Granularity
What is data granularity? Explain.
-
Copy Stage in Processing
Having single input in the source wants the repetition of the input in the column of the target using only copy stage.
-
What are the Datastage native operators
What are the Datastage native operators??
C
C++
BASIC
OSH
Could you brief this please -
What is the use of node in data stage ?
If we increase the nodes wt will happens?
-
What is range look up and how it is used in datastage.
Say I have 5 rows in a source table and for each rows 10 rows matching in a lookup table and my range is for lookup is 9 to 99. what will be the row count in output table?
-
Design a job
I have table(Emp) with the columns Eid,Ename,Sal,month(sal),year(sal) and DOB (say 15th-Jan-1981).
Design a job such that the output displays Ename,year(sal),tot(sal) and current age i.e. For Ex: 18 yrs -
Source file and 3 output tables records problem
Suppose i am having a source file and 3 output tables and I want first row to be written to first table second row to second table, third row to third table likewise how can we achieve this using datastage without using partitioning?
-
How to identify updated records in datastage.
How can we identify updated records in datastage? Only updated records without having any row-id and date column available.
-
What is slowly changing dimension(SCD)
what is slowly changing dimension(SCD)? How do we rectify it in datastage.
-
How to read a comma delimiter file in sequential file stage?
How we read comma delimiter file in sequential file stage and how we can remove the header and footer from a comma delimiter file?
-
Datastage job
i have a sequence of job in DataStage which is taking more than 4 hrs which is supposed to complete in less than 1 hr
so what could be the possibilities to take much longer time than expected? -
-
Getting files In datastage
How to get a files from different servers to one server in datastage by using unix command?
DataStage Interview Questions
Ans