1. How many People are part of your Team?
2. Explain how you create jobs or flow of project?
3. Join Stage vs Lookup vs Merge Stage
4. Summation scenario based question - How you find sum of salary for a specific employee (Explain stages and flow of job)?
5. Explain Remove duplicates stage ? Can you do sort in this stage?
6. SQL Questions - Joins - Types, Difference between Join and Union
7. Unix Questions - How you run the Job, How you list all jobs in project
8. Explain Environmental Variables?
9. SQL Scenario - If you have 3 Identical record in a Table, Ex: 1, Ram, Xyz; 1, Ram, Xyz; 1, Ram, Xyz; Delete only 2 of the records and keep only 1 using the Delete query. How you will you do this?
Answer Posted / mahesh
Explain how you create jobs or flow of project?
Meta Data Import - Stages with Transformation logics - Load into Staging Tables
Join Stage vs Lookup vs Merge Stage
Differences
Mentioned about Input and Output, Reject Links
Mentioned about Volumes of Data etc.,
Summation scenario based question - How you find sum of salary for a specific employee (Explain stages and flow of job)?
Import Meta data - Database Connector - Filter Stage - Aggregator stage (Sum) - To list Result into a file Ex. Dataset
Explain Remove duplicates stage ? Can you do sort in this stage?
Removes the Duplicate values based on the First retained or second retain
Remove duplicates does have only internal sort, As a Recommendation It is better if we send Remove duplicate stage sorted data.
6. SQL Questions - Joins - Types, Difference between Join and Union
Join Types
Full Outer
Left Outer
Right Outer
Inner Join
Union vs Full outer: Union is similar to the Funnel stage in DS. Union need to be done on tables which has similar meta data where as Full outer need a matching Column between 2 or more tables
7. Unix Questions - How you run the Job, How you list all jobs in project
dsjob -run projectname jobname
dsjob -ljobs projectname
8. Explain Environmental Variables?
Can be created from DS Administrator, from User defined variables. Which can be used across all the projects in Datastage
9. SQL Scenario - If you have 3 Identical record in a Table, Ex: 1, Ram, Xyz; 1, Ram, Xyz; 1, Ram, Xyz; Delete only 2 of the records and keep only 1 using the Delete query. How you will you do this?
- I didn't answer this. Please let me know if you have any thoughts. Which will help for future interviews. Thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Difference between in process and inter process?
if i have two tables table1 table2 1a 1a,b,c,d 1b 2a,b,c,d,e 1c 1d 2a 2b 2c 2d 2e how can i get data as same as in tables? how can i implement scd typ1 and type2 in both server and in parallel? field1 field2 field3 suresh , 10,324 , 355 , 1234 ram , 23,456 , 450 , 456 balu ,40,346,23 , 275, 5678 how to remove the duplicate rows,inthe fields?
Name the third party tools that can be used in datastage?
what is 'reconsideration error' and how can i respond to this error and how to debug this
what are the errors,warnings in datastage
Define Routines and their types?
sed,awk,head
What are routines in datastage? Enlist various types of routines.
Explain Quality stage?
What is the difference between an operational datastage and a data warehouse?
On which interface you will be working as a developer?
Can you explain players in datastage?
What are stage variables and constants?
create a job that splits the data in the Jobs.txt file into
four output files. You will direct the data to the
different output files using constraints. • Job name:
JobLevels
• Source file: Jobs.txt
• Target file 1: LowLevelJobs.txt
− min_lvl between 0 and 25 inclusive.
− Same column types and headings as Jobs.txt.
− Include column names in the first line of the output file.
− Job description column should be preceded by the
string “Job
Title:” and embedded within square brackets. For example, if
the job description is “Designer”, the derived value
is: “Job
Title: [Designer]”.
• Target file 2: MidLevelJobs.txt
− min_lvl between 26 and 100 inclusive.
− Same format and derivations as Target file 1.
• Target file 3: HighLevelJobs.txt
− min_lvl between 101 and 500 inclusive.
− Same format and derivations as Target file 1.
• Rejects file: JobRejects.txt
− min_lvl is out of range, i.e., below 0 or above 500.
− This file has only two columns: job_id and reject_desc.
− reject_desc is a variable-length text field, maximum
length
100. It should contain a string of the form: “Level out of
range:
tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise