12TH Batch Interview Questions
12TH Batch Interview Questions
NO NO NO
SQL QUERY
USER DEFINED JOIN
SOURCE FILTER
NO.OF SORTED PORTS
DISTINCT
NO NO
NO NO NO
INDEX AND DATA TOP/BUTTOM, NO.OF RANKS RANKINDEX
DD_INSERT -0
DD_UPDATE-1
DD_DELETE-2
NO DD_REJECT-3 0
Current Value
Incremented by
End value
Reset
Cycle CURRVAL
NO start value NEXTVAL
INDEX AND DATA cache Lookup SQL override ,
static lookup source filter
dynamic enable lookup cache
persistant cache lookup policy on multiple match
shared cache dynamic lookup cache
insert else update no
tc_continue transaction
tc_commit_before
tc_commit_after
tc_rollback_before
NO tc_rollback_After no
groups Performance
MULTIPLE INPUT
SINGLE OUTPUT
NO
usage :
1. you can use Normaliser Tr to generate multipe
records from single record.
no 2. To read cobol sources
no no
Limitations / DISADVANTAGES
If we have mutiple filters , each filter will READ each incoming record once.
We cannot use multiple conditions in single filter TR
cannot use dynamic lookup in un-conncted lookup and also for flat file lookups
you cannot reuse Normalize tr which is used to read the cobol sources
no
WHY ROUTER IS ACTIVE?
BEAUSE ROUTER IS HAVING MORE THAN ONE OUTOUT GROUP
NA NA NA
groups
NO
one input , one default and multiple
output grups
NA
ORACLE
UNION WILL NOT DUPLICATES
UNION ALL WILL ALLOW DUPLICATES
WHENEVER YOU WANT TO USE SORTED AGG OR JOINER , IS IT MANDOTRY USE SORTER TR
YES
NO
Performance
use Variable port to redure complexity and also it will calucate expression only time , we
can reuse the variable ports muliple times
always use nuerical funcitons than string functions
Always use operators than funcitons
INFORMATICA
UNION
If any tranformation having more than oneput group or more than output group - active
1
2
3
4
5
filter
can use only one condition
we cannot capture the rows which does not meets the condition
No groups in filter
mulriple filters will read incoming records more than once.
if you use multiple filter , performance of mapping will decrease
router
can use multiple conditions
we can capture the which does not meet the conditon by using dfault gourp
single inout , multiple outs , one default group
Router will read incoming records only once.
it will improve the performance .
TABLE1 TABLE2
Inner join left outer join
sno sno sno sno sno
1 5 1 1 1
2 6 2
3 7 3
4 1 4
sno
` 1
2
1
1
2
sno
1
1
1
1
1
1
1
1
1
1
1
1
left outer join right outer join
sno sno sno sno sno
1 1 1 1 1
2 null null 6
3 null null 7
4 null null 5
1 1 1 1 1
1 2 2 1 1
2 3 null 2 2
5 null null 4
1 1
OT_SRC_Dev3
SQ
TO JOIN HOMOGENESOUS TABLES ONLY
SQ WILL SUPPORT ALL TYPES OF JOINES WHICH SUPPORTED SOURCE DATABASE
TO JOIN N SOURCES TABLE , 1 SQ REQUIRED
WE CAN OVERRIDE SQL QUERY
WE HAVE SOURCE Filter , USER DEFINED JOIN, NO OF SORTED PORTS, DISTINCT AVAILBLE
SQ CAN SUPPORT ANY OPERATOR
USE SQ TO JOIN WHENVER POSSBILE
FLAT FILE
TABLE
JOINER
TO JOIN HETEROGENEOUS SOURCES
JOINER WILL SUPPORT ONLY 4 TYPES OF JOINS ONLY
TO JOIN N SOURCES , N-1 JOINER TR REQUIRED
THERE IS NO SQL QUERY
NONE OF PROPERTIES AVAIABLE
JOIN WILL SUPPORT ONLY EQUALITY OPERATOR
USE ONLY WHEN SOURCE ARE HETEROGENEOUS
TABLE
TABLE
ROUTER
1 HAING ONE INPUT , ONE DEFAULT AND MULITPLE OUTGOURPS
2 ROUTER WILL SPLIT THE SOURCE DATA MULTIPLE TARGETS
3 DEFAULT GROUP
4 WE SHOULD GIVE CONDTION FOR EACH GROUP
UNION
MULIPLE INPUT GROUPS AND ONE OUTPUT GROUP
WILL COMBINE MULTIPLE SOURCES AND SEND THE DATA SINGLE TARGET
NO DEFAULT GROUP
NO CONDITIONS
SQ
1 We can join only homogeneous source tables
2 Any join can be possible
3 no cache
4 Actice
5 I/O
6 In SQL query no alias will generate
7 SQ will not default order by
LOOKUP
can join heterogenous sources
defalt leftouter join
5 types of cache DATA CACHE
passive INDEX CACHE
I/O/L/R STATIC CACHE
but here Alias will generate DYNAMIC CACHE
Lookup will wirite default order by clause SHARED CACHE
PERSISTANT CACHE
joiner
1 will support 4 types of joins
2 There is no option to write a sql query
3 no Source filter availble
4 2 cache
5 Active
6 I/O/M
7 JOINER WLL SUPPORT ONLY EQUALITY OPERATOR
8 JOINER IS on connected TR
lookup
only Default left outer join
We have lookup SQL override
source filter poprety availble
5 types cache
Passive
I/O/L/R
LOOKUP WILL SUPPORT OTHER THAN EQUALITY OPERATOR
lookup can be connected or un-connected TR
union joiner
1 Multiple inut , one output group there are no groups
2 there is no condtion there is a condition
Connected looukp
1 Its a part of data flow
2 will return multiple values
3 we can use static and dynamic lookup cac
4 More visible
5 For every record , lookup will execute
un connected lookup
It is separate from the data flow.
will return only one value by checking R port
we can use only static
Less visible , will call lookup tr in expression tr
only executes when lookup fucniton Is called
1
2
3
Mapplet
Mapplet should have atleast on mapplet output trasnformation
Mapplet contains mapplet input Tr and mapplet output TR
Mapplet can be re-usable across any mapping
Re-usable Tranformations
Re-usable Tranformation is a single object which re-use across the mappings
Mapplet
Mapplet is a set of tranformationS which contains a logic ebedded in it and can re-use the mapplet across any tr