Geek Interview Question
Geek Interview Question
1. How to separate duplicate records with out dedup sorted from the grouped
input file?
Ans:- We can achieve that through the rollup ...
(or)
Rollup will help to avoid the duplicate without using dedup component.
It takes the first record and reject the rest
2. 3 way join with different column names
Ans:- SELECT C.DEPTNAME,sum(B.SALARY) FROM FILE1 A ,FILE2 B
,FILE3 C
1. WHERE A.EMPLID=B.EMPLID AND A.DEPTID=C.DEPTID
2. GROUP BY C.DEPTNAME
(or
B. Setup the join component- Fine .. I will answer this myself You don't
need to mention a key here ..neither key nor override key So in the transform you
have find the columns u need to match and put a...
3. Removing header and trailer records
Ans:-A. Use Unix SED #--------------------------------------------------------------# #
This line removes both the header and the trailer record #------------------------------
----------------------------...
(or)
B. You cam redefine format, Filter by expression & Run program components.
4. Abinitio dml usage in Informatica source creation
Ans:- Can we create an Informatica source by using the dml of the corresponding
abinitio source,by importing the dml,without using the manual create source
option
5. What is a control file in abinitio?
Ans:- In Abinitio, we have Multifile System. Multifiles are like different
partitions of an original file. For example, if we take a 4 way partition file, which
implies, data of an original file is stored i...
6. Which file should we keep it as a look up file, large file or less data records
file & why?
Ans:- When we say lookup, it can be in serial or it can in MFS and generally
based on the application logic we decide what kind of lookup it needs to be. And
again we need to think on the natire of the loo...
(or)
B:- Lookup File should be of small size or less number records. This is because,
when the graph is invoked, all the data in the lookup file file will be loaded into
memory..This means..if the data in the...
7. Abinitio sorted component
Ans:- You can use sort component to get the sorted output.
8.What are the two types of .Dbc files
. Ans :-dbc file is database configuration file. In this file, information to connect
the database is given.
Types of files:
1. Fixed length file
2. Delimited file
B:- We don't have diff types of dbc file. We have only one dbc file which is used
to connect the component in the GDE with particular database
9. Package editor
Ans:- What is "package" and "package editor" and how and why it is used.
Once you log in to transform editor click on view and go to package editor. It is
used to have extra tranform abilities like intialise, finalise etc
10. Wrapper and .Ksh in ab initio
Ans:- Why wrapper scripts are used in job scheduler to run graphs in ab initio?
Why cannot we use .Ksh script in job scheduler to schedule job?
(or)
wrapper Script executes multiple graphs(or) jobs,that means multiple .ksh jobs are
going to execute here,
where coming to .ksh which will be execute a single component process. that
means every component process having the .ksh process
11. What is vector field? Explain
Ans:- Hi Can u please explain it with example, i need to build the vector for
comparison of the inputs records , if that records matches then i take the output
(or)
Vector field is like an array which is used in C/C++.
Its mainly used in normalize and denormalize component
12. Factless fact(What is factless fact)?
Ans:- The fact which is not having any measures(like Quantity) are called factless
fact
13. Config variables in abinitio
Ans:- For all ab-initio config variables the command starts with AB_
14. Sort component
Ans:- It can read both.(or) Sort reads records in a parallel way, because all groups
of records should read and sorted at a time.
15. What is lookup file?
Ans:- Lookup file .dat which contains small amount of data with specified key or
keys. (or)
Lookup file is basically a specific dataset which is keyed. This can be used to
mapping values as per the data present in a particular file (serial/multi file). The
dataset can be static as well dyna...
16. Pset(What is .Pset?)
Ans:- .pset is a input parameter file. (or)
Above version 1.15 the inputs which we pass as graph parameters are stored in a
file called pset.Its stored in folder pset.Generally pset file will be save as same as
graph name with extension .pset
17. Graph process
Ans:- After developing graph save it. Automatically it will generate .ksh, .db,
.mp, .xfr, .dml.
If you want to send the saved or latest version of the graph you can go for check
in option in GDE or From UNIX you can go for EXPORT.
18. Hi if want to run the graph in UNIX !What command I need to use
?Correct me if im wrong :-run
Ans:- You can deploy the graph and generate the .ksh file which you can directly
execute or use the following command to execute the graph:
air sandbox run .mp
(or)
To run a graph in unix follow the simple steps.1. Deploy the graph to a wrapper
script .ksh2. In unix, run the wrapper script as described
below.script_path/xyz.ksh --> If no parameters defined.scr...
cust_id decimal(8)...
The delimiters varies in each and every ebcidic formats send from source files.
But Its generally hexadecimal embedded.
(or)
Ascii vs. EbcdicWhen you view your data does it have different charaters
inbetween that do not look ASCII? If so, then in your record format type the
following:ebcdic record record details...
43. Record counts by reformat component(How to calculate the total number of
records in the file using reformat instead of rollup?)
Ans:- Connect onnect and Configure
Series:... Subject:... Topic:... There are four routhers and 4 swiches and...
http://www.geekinterview.com/question_details/81094
What is meant by session in db_connect
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/21542
Can a universe be connected to different databases?
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/34161
JVM and JDBC Connectivity
Series:... Subject:... Topic:... Explain working of Java Virtual Machine...
http://www.geekinterview.com/question_details/83801
How do you connect to or query Oracle database from a UNIX platform.?
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/15704
)reformat to log port and use this code and in select parameter specify
event_type="finish"type reformat_final_msg = recorddecimal("records")
read_count; string("readn&... (OR)
Via its log port.
44. Open abinitio in UNIX(How to open abinitio in UNIX)
Ans:- We cannot open AB Initio in UNIX. We can only run graphs in UNIX
using the ksh.
45. Why and when do we get the "pipeline broken error" in ab initio?
Ans:- Pipeline broken error will actually indicates the failure of a downstream
component.
It normally occurs when the database is running out of memory which
makes database components in the graph unavailable.
There are various scenarios where you can get this error. How did you encounter
it. You need to elaborate on it so that the group can give you a specific answer.
46. What is the order of execution of a graph when it runs?
Ans:- 1. Initialisation of Parameters
2. Start script execution
3. Graph execution
4. End script execution
All its parameters are initialized
2. Start script call
3. Graph start
4. End script executed.
47. How to avoid duplicates without using dedup component?
Ans:- We can avoid duplicate by using "key_change" method of the rollup
component.
The code will be like below.
out :: key_change(prev,curr)=
begin out :: cur != prev ; end out :: rollup(in) = begin out :: in ; end
Answered by: biyyanimv on: Feb 2nd, 2009
Use dedup sort to avoid duplicates
48. Sort within group(What is the advantage of sort within group clause)
Ans:- Sort within Groups refines the sorting of data records already sorted
according to one key and it sorts the records within the groups formed by the first
sort according to a second key.
49. What is output index? How does it work in reformat?Does below function
show output index in useoutput:1:if(in.Emp.Sal
Ans:- Output index function is used in reformat having multiple output ports to
direct which record goes to which out port. for eg. for a reformat with 3 out ports
such a function could be likeif (value==&#...
50. Abinitio environment variables(What are environment variable? Why
are they required)
Ans:- Environment Variables or other wise know as ABINITIO environment
variable. Its set in stdenv under which private project and pubic project will be
there.
Parameters like $AB_HOME , $AB_AIR_RROT will be present in environment
variable and this will link to the relational path respectively
51. Input table component layout - abinitio(My question is related to the
input table component layout. If we select the layout to be database-
(database default), where exactly is it pulling that layout from? When should
this option be used? Within the database layout we also see the serial ,table
and explicit args options, when do we use those?...)
Ans:- I would suggest you not to use the default database. either ai_serial or
ai_mfs.
Default database will pick the data from the database in the same structure as it is
in db.
The data in db might be serial or partition.
52. What is use of ab_job command in abinitio?
Ans:- When you want to run the same instance of the graph many times which is
palced in one place then we go for AB_JOB. its should be defined in sandbox
parameter. If you dont give the value for it it will take
AB_JOB as defaultAB_JOB parameter is set when we want to run the same graph
at the same time for different job names.
53. How do you join two files with different layouts
Ans:- I think your question is to join a serial file and a multifile, if that is the case
use broadcast component after the serial file and before join. (or)
If the layout is totally different ----use Fuse Component
54. What is the usage of .Mfctl and .Mdir files in the mfs directory of ab initio?
Ans:- .mfctl and .mdir are both related to multifile system. .mfctl extension of
control file created when we are using the MFS. The file extension .mfctl will
contain the URLs of all the data partitions. The file with the extension .mdir will
contain the URL of the control file used by MFS
55. How to rerun a graph in UNIX
Ans:- when ever a graph fails it creates a .rec file in the working directory ,the
directory may be where ur graph deployed script is stored .so remove that .rec file
an dthen run the deployed script of the graph from unix,u may use m_rollback -d
(or)
you can run the graph by giving the following command in unix
dtm run <recvory file name> -continue
56. How do you pass parameters to a graph in ai ?
Ans:- yes you can declare parametes in edit paramter option in GDE, while
running the ksh you can pass the value in command line.
If you want to pass a parameter to your graph then declare a formal parameter in
edit-parametrs region.
57. How to use a normal batch graph as a sub graph in continuous graph?
Ans:-
58. How many sandboxes can be there for a project?
Ans:- There can be numerous sandboxes for a project but there should be only one
sandbox associated with EME for a project.
we can have any no of sandboxes, sand box is nothing but users work area where
each user will get copy of the project & do the modifications acc.
59. How metadata management takes place in abinitio?
Ans:- it is possible with help of EME. it follows UNIX file structure.
60. How will you connect two servers?
Ans;- Connecting two different servers in Abinito is done thorugh a file called
abinitio.rc. This is used for remote connectivity. This file contains information
like the server ip(or name),the user name and the password required to connect
.(Connect and Configure
Series:... Subject:... Topic:... There are four routhers and 4 swiches and...
http://www.geekinterview.com/question_details/81094
What is meant by session in db_connect
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/21542
Can a universe be connected to different databases?
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/34161
JVM and JDBC Connectivity
Series:... Subject:... Topic:... Explain working of Java Virtual Machine...
http://www.geekinterview.com/question_details/83801
How do you connect to or query Oracle database from a UNIX platform.?
Series:... Subject:... Topic:... Asked by: Interview Candidate | Asked on:...
http://www.geekinterview.com/question_details/15704
)
61. Installation of ab initio in windows
Ans:- Hi,i've installed gde 2.8 on windows xp,and our database running as
Oracle9i,how do we install co-operating system... And on the same machine
Informatica server& client also running.Does it matter of Informatica software
exists where abinitio gonna installed...Pls do let me know the steps of
installation...(or)
Hi vasuInstalled in XP professional Abinito 2.10 co>op sys and 1.10.8 GDE
version.I created dml and data in serial file.--dml is simpleas well as graph with
FBE & out filei want to see data from file ...(or )
There is no matter what u have installed on u'r pc(either INFORMATICA r
DATASTAGE).but it is better to stop the services of the INFORMATICA when r
going to work with ABINITIO.When u want to work with...
62. Call web service component - ab initio(How does one make use of the
"call web service" component in the $ab_home/connectors/internet directory
of the component selector window of the ab initio console? Explain with
sample code )
Ans:-
63. Implementing file listener in abinitio
Ans:- Is there a way of implementing file listener in abinitio? It should
continuously scan a given directory, as soon as a file is placed in that directory, it
should copy that file to a working directory and trigger a corresponding abinitio
graph(or)
You can use the CONTINOUS components to build this. It requires and
environment setup though. You can read through the Ab Initio help by searching
on 'Continuous graphs'.
64. How can you extract and load without transforming?
Ans:- Provided the DML is same you can directly connect both input and output
datasets and perform and extract and load operation. For example, If the input
dataset is a table and output is file, you can directly connect both these, making
sure the DML of the file is propagated from table.
65. What do .Rec file contain ?
Ans:- .rec file contains the information which is required to rollback the graph
when it fails
Generally it will have some meta char information with hld and nld extension.
then we use the wrapper script(abc.sh) to run the graph from command
prompt(unix) using
./abc.sh
Sort component sort the data on a single key at a time.If we have sort with some
other key again we have to use the sort component again.It take some extra time.
That sort with in group using best way.
(OR)
Use Sort within Groups only if records within a group are processed before being
sorted on a minor key i.e. if processing "A" needs records to be sorted on field
{"1"} and later in...
99. Please let me know whether we have ab initiogde version 1.14 and what is
the latest gdeversion and co-op version?
6 answers
Latest GDE version is 3.0.5 and Latest COPS version is 3.0.4
(OR)
Latest GDE version is now 1.15.6 and with Co-operative system version 2.14.
100. Find the size of mfs file?
13 answers:-How do you find the size of mfs file?
(OR)
Use m_ls -ltr file name you will have the record count and also size of it.
(OR)
using m_expand you can know the count of partition on the file
101. How to recover a control file that is removed using rm ?
1 answer:-Instead of m_ filename if we do a rm filename by mistake and want to
recover that control file, how do we do it? Can it be done using a checkpoint, if yes how
and is there another way?
(OR)
if data files are present simply do m_touch control file name
102. What is skew and skew measurement?
8 answers:-Answered by: vSudheer on: Mar 2nd, 2012
statistically, skew represent distribution of data.. when all partitions share equal
amount of data, it is the best use of portioning. This can be achieved by partition-
by-roundrobbin or by using equ...
(OR)
Skew is the measure of the data flow on the particular partition Take an example
4 way partitioned 1flow---200recs 2flow---600recs 3flow---400recs 4flow---
800recs Take average = (200+600+400+800)/4 =...
103. How do you insert break in .Dat output file using abinitio ?
2 answers:-I have already created graph,and need to modify it so that output file gets
page breaks. Any idea how can we implement page breaks in abinitio.
(OR)
as far I know there are no page breaks in files.. (anyone know if there are .doc or
.pdf creation components in AI)?
If you are trying to insert a line break, just insert a blank where you need
104. What do you mean by break in output file? Please elaborate.
Informatica source creation from abinitio dml
Hi, can we create an Informatica source by using the the abinitio dml directly
rather than manually creating the source.Just like the way,i tried for creating an
Informatica source from an Informatica target by making respective changes in
the XML structure and importing the same.
-3-
105. Speedy process of verification?
What are the important concepts required for speedy process of verification. . .?
Answer Question
106. I am working on Informatica.I am interested to learn abinitio.Please
help me to find some stuff which helps me to start.I am not understanding
where to start... Please guide me.. I have got abinitio gde...
14 answers:-"version it" institute is not teaching ab initio course;
By jakirajam
(OR)
Hello 2.18.32 is new version for co op and 1.18 is new version for GDE.
Ok keep it up .
107. XML reformat?
1 answer:-Hi,can anyone explain how XML reformat is being used to generate XML
file.Please let me know with one example.Suppose we have three records in the input
file as
below:xxx,001,company_1yyy,008,company_2zzz,002,company_3ppp,006,company_2
where xxx- name001 - emp idcompany_1 - company namecan anyone help...
(OR)
Hi,Let the input file data be as
below.PPP,006,Company_2XXX,001,Company_1YYY,008,Company_2zzz,002,
Company_3Let the record format for reading this data be as
below.recordstring(",") Name;deci...
108. What is the use of dependency analysis?
1 answer:- Data Lineage
109. Metadata level programming?
How can we do metadata level programming in dml itself to remove blank lines
from a file
110. What is the relation between eme , gde and co-operating system ?
6 answers:-Answered by: girish.v on: Dec 19th, 2010
GDE is Graphical Development Environment where user creates graphs(It is
having GUI environment installed in wondows).Co>Op system is used for
running the developed graphs either in Unix or in Wind...
(OR)
EME is Enterpise Meta Environment which is repository(stores data). GDE is
Graphycal Development Environment which is user's work area(develops Graphs)
and Co>Op is used to run the developed ga...
111. What is the use of aggregation when we have rollup as we know rollup
component in abinitio is used to summirize group of data record. Then where
we will use aggregation ?
15 answers:-Aggregate and ROLLUP generates records that summarize groups of
records. But Roll-up provides more control over record selection, grouping, and
aggregation.
(OR)
Rollup is multistage component. It is working as a text mode and package mode.
In package mode user has to develop own logic. In text mode it work as a
aggregate component.
It is one type of facility in roll up.
112. How do you improve the performance of a graph?
6 answers:-Adding to all the point mentioned by others -- Thumb Rule is to prefer
componet solution to a problem compared to logical solution.- Use Oracle hints and Ab
Initio Hints (ABLOCAL utility for lower ora...
(OR)
I would like to add couple of more points to the already given explanations:1. Try
to use lookups for joining instead of join if you have huge no. of records in one
flow and relatively less no. of rec...
113. Explain how the graph can be aborted at runtime by using it in the xfr.?
1 answer:-force_error() function can be used within the xfr to abort the graph.
Remeber to keep the transform component with 'Abort on first reject'.
Also, specific error messages can be captured from the error port (Never abort).
114. Unit testing?
2 answers
How do you perform unit testing?
(OR)
Divide the main components of graphs having required transformations and do
data validation for each of them seperately.
(OR)
Test the developed graphs with sample data (ie. our sample data).
115. What is mpjret?
1 answer:-
What is mpjret? Explain about the uses of mpjret. How to use mpjret?
(OR)
The variable $mpjret will hold the return status of Abintio graph.
Echo $mpjret will tell if the is successful or failed.
0 means sucess and any other number means failure.
116. Hi !I have worked on datastage and Informatica ..We have option called
report where we can generate the complete job ryt from components to code
..I want know ab-initio does it have facility of job report.?
2 answers:- There is a log port in every component available. You can use this port to
generate reports.
(OR)
While there is no option to prepare a report but if you go to options
View>Tracking Details in GDE you can clearly see how much each component is
taking CPU time,memory usage etc etc
117. Reformat component?
1 answer:-?
What is use of index in reformat component?
(OR)
output_indexes in Reformat functions like a Partition.
118. Most common runtime errors?
1 answer:-Give some runtime errors which are commonly comming in your graph
execution?
(OR)
Nerver abort
119. Abinitio partition component?
2 answers:-What is the optimistic partitioning component in abinitio? How can we say
that it is an optimistic partition component?
(OR)
Partition by Round Robin is Optimistic Component, by using data skew we can
say that it is optimistic component
(OR)
Round Robin is the optimistic partition.
120. Size of the file?
1 answer:-Which component will be used to reduce the size of the file?
(OR)
You can use the Compress or Deflate component to reduce the size of the file.
121. Loading 1 millon records?
2 answers
If a graph fails in between loading 1 millon records to a target table what is the
alternative solution? I.E will you run the grarh again? (the record count is very
huge)
(OR)
We can commit intermediate results in the target table by creating a commit table
in API mode. When we rerun the graph, it will skip over the previously commited
records. Use m_db creat...
(OR)
Yes,We need to run the graph again.1)If we use any checkpoint in the graph it
will recover the data from that point.2)If we set the parameter rows_per_commit
in the target table(the committed data = rows_per_commit) then data will be safe
in the target table.
122. What is the function you would use to transfer a string into a decimal?
8 answers:-If string conains the alphanuemica data the decimal-strip will remove the
alpanumeric data but the decimal(length) will not remove alphanumeric data.Please let
me know If I am wrong.
(OR)
decimal_lrepad(string name, decimaldata type length)
decimal_lpad(string name, decimaldata type length)
fan out : fan out is opposite of fan out example component is partition component.
131. Changing to mfs(How do change serial file into mfs? Explain
)?
4 answers:-Go to run command or press F8You will get the one text box in that type
m_mkfs [path0] [path1]..This is for cration of multifile system after that create one file
in that path by using m_touch [path0]...
(OR)
1. Make sure you have multifile system in your ab-initio environment
2. Then use partition component to distribute your records to MF
132. Cummulative summary in ab initio?
5 answers:-
How can I achieve cummulative sumary in ab initio other than using scan
component. Is there any inbuilt function available for that?
(OR)
We can use rollup component.
(OR)
Other then scan, we can use rollup to do the cumulative summary.
133. Abinitio graphs(How will you test the abinitio graphs)?
Answer Question
Ab_constructs
(OR)
134. What are ab_constructs? What is its use?
Answer Question?
134. Behaviour of component in differnt version?
2 answers:-How will you ensure that the components created in one version do not
malfunction/cease functioning in other version?
(OR)
Components should be compatibile to run in previous versions of GDE. The
depreciated components would run in new versions.
(OR)
Runtime behaviour of components will remain same in all versions unless its
requires to have any additional paramter to be defined in any version. Evolution
of new version of ETL comes with some changes in component level parameters
(observation as of now).
135. Abinitio lookup?
4 answers:-Can we process 1 gb data(1 million records) by using lookup? How
(OR)
Processing 1GB data with a small lookup file is good ... but to make the 1GB data
as a lookup file is mistake.Use mfs lookups instead if its at most needed.
(OR)
I will suggest you to use Join instead of Lookup for such voluminous data
136. Whats the best way in a ai graph to read the header 1st line and trailer
(last line) in a i/p file, compare record counts and checksum (available in
header) and error out if actual recd count or checksum...
6 answers:-anujaja, use only one dedup sort. in dedup sort use the select statement
"next_in_sequence > 1" and use keyless Dedup "{}". With keep paramete "last". this
will remove trailer, you will get all the body part from the "dup" port
(OR)
You can also use a keyless Dedup with keep parameter as first.
This will put header in output port and rest of the record on Dup port . Then connect
dup port again with another dedup and use Keep parameter as last this will remove
trailer as well.
137. Where we keep the control file (controle partition)?
2 answers:-Ab Initio multifiles present in parallel directories called multidirectories,
which are present into multifile systems
The multidirectories contain the control file (controle partition) and data directory.
(OR)
control should present in the multifile directory, which contains the address of the serial
files
138. Parametrization of mfs?
3 answers:-I want to use an ab initio parameter to control whether I am in serial or mfs
mode. Basically, I will have an $ai_mfs_parts variable. If it is set to 1, then we are
running serial. If it is set to 4, then we are running 4-way mfs. Will the data need to be
located in physically different locations...
(OR)
I think we can have two parameters like AI_SERIAL and AI_MFS to determine
where we are in serial location or MFS location. This is best way of finding out
whether the file is serial or MFS. Hope this help.
(OR)
Its always better to use multiple file system instead of adhoc
multifiles.So,physical allocation is a good idea for separation of mfs and
serial.Say,i have a physical allocation to path1 for mfs and h...
(OR)
139.What is the function of xfr in abinitio?
3 answers
It would be great if one of you can explain me in brief what is the function of xfr
(like what does it do ,where is it stored ,how does it affect ) as I am very confused
on thisthank you
(OR)
XFR is used for externalizing a transform/function. A function which needs to be
reused at multiple places can be created as a common XFR instead of writing the
same code again and again.
(OR)
The XFR usually stores the mappings in the text view. Usually these mappings
are generalised. In the Transformation of any component these XFR's can be
called and abi nitio will automatically do the s...
140. Data modelling?
What data modelling do you follow while loading of data to tables? Also the db
you are inserting the data has star schema or snow flake schema?
Answer Question:-?
141. What is wrapper script in ab initio?
3 answers:-When you deploy an Ab Initio graph it becomes a ksh script saved in Run
directory.
Wrapper is another Unix script which calls the above mentioned deployed script.
It might also be use to handle other functionalities together with execution of graph.
(OR)
Wrapper script is an Unix script, which is helpful in running the graphs directly
through Unix and running it automatically. This is useful when we have Unix as
the operating system.
142. What command would you use to inspect the users currently logged into
SQL server database?
3 answers:-The below SQL Query can solve the purpose
select username from V$SESSION;
(OR)
sp_who and sp_who2
143.Abinitio mfs?
4 answers:-There is one mf while loading data I deleted one partition in a mf? Can it
show error/it will process data?
(OR)
yes the above point is also valid , if file does not exist , the ab initio will throw an
error. If it is truncated ,you will loose the data but abinitio will not throw an error.
(OR)
Did you delete data in partition or deleted partition itself?
If data is deleted (or truncated) in a partition, ab-initio does not throw the error.
If a partition itself is deleted, ab-initio is going to throw the error.
144.Describe which system/process elements you would review when trouble-
shooting general server slowness.?
1 answer:-
1) Space
2) Server Utilisation
3) Any script running taking lots of time
145.Join on partitioned flow?
7 answers:-If I have 2 files containing field file1(a,b,c) and file2(a,b,d), if we partition
both the files on key a using partition by key and pass the output to join component, if
the join key is (a,b) will it join or not and why?
(OR)
The partition key and join key do NOT have to be the exact same. In order to join
properly, you just have to make sure the records being compared are in the same
partition. So if the parti...
(OR)
I do not think the join output would be correct. The partition key fields for the two
input streams should be same as the join key fields in the join component,
otherwise the data from stream 1 would ...
146. What is the name of the SQL language used in SQL server stored
procedures?
4 answers:-The name of the SQL language is TSQL
(OR)
SQL stands for Structured Query Language.
147. What is the lookup function used to retrieve the particular duplictae
datarecords in the lookup file?
3 answers:-Use lookup_count for finding the duplicates and lookup_next for retrieving
it.
If lookup_count (string file_label, [ expression [ , expression ... ] ] )>0
lookup_next ( lookup_identifier_type lookup_id, string lookup_template )
Njoi!!
Abhi - fresh as dew!
(OR)
lookup_next function is used for retrieving duplicates records of that particular
record
148. What is the difference between the flows of 3 parallelisms?
4 answers:-I think i misunderstood the question ,there are 3 type of parallelisms in Ab
Initio , details of 3 types are expalined correctly above with difference.
(OR)
ab initio supports parallilesm..parallilesm 3 types 1.component parallilasem:
graph running the data sumaltenously on seperate data uses. every component
graph creates one component process ..this is ...
149. In a process which reads 15,000 rows from one table and EIther updates
or inserts them into another table and given the scenario where the process
may abnormally terminate, describe how you track progress...?
1 answer:-The following are some possible strategies for dealing with this problem: 1)
If a job does a bulk load into a table and you know the table was empty before the job
began, you can truncate the table be...
150. What are cartesian joins?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
5 answers:-When there are duplicate keys in either or all of the joined datasets the
result is a cartesion product. This is termed as Cartesian Join in Abinitio.Eg:If there are
two input datasets for a join func...
(OR)
join two tables without join key , that is crossproduct.
151. Phase verses checkpoint?
6 answers:-Difference between a phase and checkpoint as far as I know it something
related with how temporary files containing the data landed to disk is handled.That is
phases are used to break up a graph so that it does not use up all the memory , it reduce
the no of component running in parallel hence improves...
(OR)
Phase is breaking the graph into different block. It create some temp file while
running and deletes it once the completion is done.Checkpoint is used for
recovery purpose. when the graph is interrupt...
(OR)
Above GDE version 1.8 checkpoint is automatic. Phasing is when you design the
graph it should not have more than 20 components. In that particular phase the
component in that phase will alone run.Chec...
152.How to handle if dml changes dynamically in abinitio?
4 answers:-Give the parameters using edit parameter and make it as formal parameter
that is run time parameter.
Then in the DML eg. $AI_DML/abc_$parameter1.dml
According to the value of the parameter that particular DML will be called.
Answered by: Guru on: Sep 4th, 2007
If DML changes dynamically in source we can handle it using "Conditional DML'
But how it can be achieved in "parameterisation" and using "metadata". Please
explain?
153.How to run the graph without gde?
6 answers:-
From UNIX you can go to pset folder in your sandbox then type
air sandbox run abc.pset
Whatever may be your psets name or just call graph script .ksh
(OR)
Hi,it is possible in Unix... first you have to go to the directory where your
deployed script is saved for that particular graph then execute the shell script by
using the following command.../.kshI hope it will help you ...regards,Mahendra
154. How to improve performance of graphs in ab initio? Give some
examples or tips.Thanks?,
5 answers:-You can improve the performance of the graph by using parallelism
concept in your graph
(OR)
The performance can be improved in several ways, I put some of them what I
remembered...1. Use sort after partition component instead of before.2. Partition
the data as early as possible and departiti...
155. One of the performance tuning techiques is join with database kept to a
minimum. Why?
2 answers:-
Join with Database (Join with DB) should not be used if number of records to
be joined with a table is very high as it degrades performance. Better result
can be achieved by retrieving the data from...
(OR)
Performing join at database will improve the performance a lot.take a scenario of
joining between the two tables. Usally we take two database components and
place a join component to perform a join be...
156.How might you quantitatively measure an improvement made to a
query?
1 answer:-By checking the execution plan of the query after doing each modification
and determining the cost of the query.
157.What is the purpose of having stored procedures in a database?
4 answers:-1. It is used to increases the performance of the application. Because when
we create Store procedure, they are compiled and stored in database. Later when
applications call them, they are general...
(OR)
Stored procedure is a pre-compiled execution block,so they do not want to wait as
the time for compilation.It is call from the server.It reduce the execution time
158.Abinitio merge graphs?
4 answers
How do we merge graphs in abinitio?
(OR)
Get on using .plan in Abinitio in which we can encapsulate different graphs.
fresh as dew!!
(OR)
Any graph in ab initio is a separate and independent entity in itself. First of all,
there is no such concept of graph merging in ab initio, since it does not make any
sense, and two graphs that are s...
159.Indexes in abinitio?
Asked By: shylender | Asked On: Feb 10th, 2008
3 answers:-In abinitio which type of indexes used?
(OR)
There is as such no concept of indexing in Ab Initio, since it is a code based ETL
tool. Indexes come into picture on the database table side. But there is something
called "output indexing" in Ab Ini...
(OR)
I think we don't have any concept of indexes in ab inition , it is there only in
Database like table indexing to improve query performance of the tables.
In Ab initio it is only massive parallel processing concept.
160.Ab initio interview questions compiled. Someone please answer them. It
will help all of us here.1) what is the difference between dbc and cfg? When
do you use these two?2) what are the compilation errors...?
1 answer:-I am sending some answers which I know. Hope this is helpful to you ..1 a)
cfg is the databse table configuration file ,dbc is the data base configuration file. 2.1
databsae component have the ...
161. Output for sort and dedup sort with null key?
2 answers:-
I have file containing 5 unique rows and I am passing them through sort
component using null key and and passing output of sort to dedup sort. What will
happen, what will be the output.
(OR)
If there is no key used in the sort component, while using the dedup sort the
output depends on the keep parameter.If its set to firt then the output would have
only the first record,if its set to las...
(OR)
I think you need to you need to specify the option whether you need to keep the
first or last or unique records , as far i know that there won't be any change in
records , it will exact the same a...
162.What are the different schedulers used for running the abinitio graphs?
3 answers:-
You can do anything in Ab Initio, depends on the logic you useSay there are 10
jobs 1,2,3,4,5 .. 10 and all the graphs are deployed as script.Suppose 1-4 graps
should run at the same time and sequenti...
(OR)
In ab initio there are no specific scheduling options as in informatica. What we
can do is use cronjob options as in unix
163.Under what circumstances join should be used instead on lookup.?
5 answers:-If you have to perform full outer join then you should go for join not for
lookup.
(OR)
Lookup should be used only to speedup the graph execution but here there is
catch if the lookup file is small then only we should used lookup because when
the graph start executing it will load whole ...
-6-
164.What is main path and structure of abinitio?
2 answers:-
Main paths in Ab initio environment are AB_HOME , specifiec the directory
where the co>operating system is installed. This need only be set for those hosts
for which the installation directory is diff...
(OR)
What are the advantages of Ab Initio over Data stage Px? You seem very
knowlegeble.
Thankx.
219. Can anyone please explain how to error trap your work?
2 answers:-yeah,error trapping is pretty essential in some cases depending on the
business requirement.for components like reformat,join etc we can trap records which
are not satisfying the respective rules at r...
(OR)
error trapping each component has reject, error, log ports, reject captures rejected
records, error captures corresponding error and log captures the execution
statistics of the component. You can co...
220.How to use max core number of rows?
Asked By: Godhuly | Asked On: Oct 2nd, 2006
3 answers:-Hi,max-core is very essential parameter in componets like sort,rollup,scan
etcmax-core gives the amount of momory which a component uses to process data
before spilling to disk ie we need to have an o...
(OR)
Most of the time you will not touch the max core value ! even though some one
ask in interview strght way say most of the time we use default value.
221. How to use override key in join !?
2 answers:-Hi folks, generally override key concept comes when we have two non-
matching fields ,where we want to have a join on it let me throw insight into
this suppose i have 2 files say FILE1,F...
(OR)
When we need to join 2 fields which has different field names.Then we can use
overridekey0 to specify what is the field name in in0 and field name from in1 in
overridekey1.Example:in0 DMLrecordstring(...
223. What is mean by co > operating system andwhy it is special for ab-initio
?
6 answers:-yeah, abinitio is a combination if GDE(graphical development
environment),co^operating system,and EME(enterprise metadata environment)each
have its own importance and are inter-related.generally...
(OR)
abintio is like blub ! co-op is like current(transformer) ..bulb will glow only when
current is passsed ..
224How do we handle if dml changing dynamicaly
3 answers:-Hey folks,
If there is any instance of having dynamically changing dml's,then we have to
pass both dml's as well as xfr's as graph parameters.
(OR)
I Think we can use MULTIREFORMAT component to handle dynamically
changing DML's-9-
225. Explain how you have used input parameters?
2 answers:-Hi,
we can give parameters,or any validations which is to be done in the start script
of the graph
o
r
pass all the necessary parameters as graph parameters or sandbox
parameters.these parameters are referenced by a "$" sign.
eg:${file_id}=AAA .
yuppy,
Mukund
(OR)
creation of input parameters: Go to the properties of the graph-->select
the parameters tab--&g...
226. How do you convert 4-way mfs to 8-way mfs?
3 answers:-We can do it by using PARTITON BY KEY AND SORT COMPONENT.
Sree
(OR)
hello,To convert 4 way to 8 way partition we need to change the layout in the
partioning component. There will be seperate parameters for each and every type
of partioning eg. AI_MFS_HOME, AI_MFS_MEDI...
227.What are primary keys and foreign keys?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
2 answers:-Foreignkey is a primarykey in other table which has parent & child
relationship betwee two tables. foreignkey resides in child table which reference the
parent table.
(OR)
In RDBMS the relationship between the two tables is represented as Primary key
and foreign key relationship.Wheras the primary key table is the parent table and
foreignkey table is the child table.The criteria for both the tables is there should
be a matching column.
228. What is writing of wrapper can any explain elaborately?
Asked By: jai | Asked On: Sep 20th, 2006
1 answer:-Writting a wrapper script helps u 2 to run the graph in sequence as u
want.Example:when u need to run 3 graphs but the condition is after the first graph ran
successfully u need to take the feed...
229. What is conditional dml? Can anyone please explain with example.?
2 answers:- Conditional dml ,is a DML which is separated based on a
condition.eg:Suppose ur DML have Header ,detail and Trailer parts,u need to separate
these coz we need to have detailed part .record if (r...
(OR)
The DML that is used as a condition is known as conditional DML..Suppose we
have data that includes the Header,Main data and Trailer as given below:10 This
data contains employee info.20 emp_id,emp_na...
(OR)
230.How to take the input data from an excel sheet?
5 answers:-Hi GUYS, COMPONENTS>TRANSALATE>READ SAPARATED VALUES
component ... U CAN USE THIS EXCEL FOR EXCEL SHEET...................THANKSRAFI
CHENNAI
(OR)
make it csv formatted , deliminated file and read it thru input table comp.
231. I am going to get inhouse training on ab initio can anyone state the
responsibilities of etldeveloper?
1 answer:-
1- unix + shell
2- sql
3- llrsim
4- little data base concepts (DBA)
232. Describe a typical backup policy that you would employ.?
1 answer:- WE can use backup the EME with air-repostory backup command from the
command line mode.
233. What is the difference between partitioning with key and round robin?
4 answers:-for partition by key it internally generates the hash code. through that i
distributes the data records.
round robin what they said was correct
(OR)
Partition by Key - Distribute according to the key value Partition by Round Robin
- Distribute a predefined number of records to one flow and then the same
numbers of records to the next flow and so o...
234. How do you truncate a table? (each candidate would say only 1 of the
several ways to do this.)?
4 answers:- You can truncate the table using one of the following components: Run
SQL, Truncate Table, Update Table.
(OR)
There are many ways to do it.
1. Probably the easiest way is to use Truncate Table
2. Run Sql or update table can be used to do the same thing
3. Run Program
235. What r the graph parameter?
4 answers:-Hello,The Parameters that are private to a graph are called Graph
Parameters.They can't be used for all the graphs present in the Sandbox ie. they are
limited to the graph for which they have bee...
(OR)
where we use local parameter and formal
236. Difference between conventional loading and direct loading ? When it is
used in real time .?
2 answers:-Mis-conception!Utility Mode can be either Direct or Conventional.This
question is basically an Oracle question, details please refer to the Oracle sqlldr
references.Conventional Load: same ...
(OR)
Conventional Load: Before loading the data, all the Table constraints will be
checked against the data. Direct load:(Faster Loading) All the Constraints will be
disabled. Data wil...
237. What are the components new in 2.14 compared to 1.8 and state the
usage of the components.
1 answer:-Don't think this question is appropiate for interview......may be just because
I don't know the answer :)
238.How to create surrogate key using ab initio?
2 answers:-For #1, if the layout is not serial, you might need to do something like:
(next_in_sequence()-1)*no_of_partition()+this_partition()
(OR)
Hi Bava,There r many ways to create Surrogatekey but it depends on your
business logic. here u can try these ways...1. use next_in_sequence() function in
your transform.2.use Assign key values compone...
239. What are the advantages and disadvantages of using assign keys component?
1 answer:-pros: easy and save development time
cons: need to understand how to feed the parameters, and you can't control it
easily :)
239. Could anybody provide me the major UNIX commands for abinitio
multifile system ?
2 answers:-m_mkfs - For creating a multifile
m_ls - to list all the multifiles
m_rm - To remove the multifile
m_cp - To cpy a multifile
(OR)
m_mkfs control_file multipart_file1 multipart_file2 .... multipart_filen
240. How can you schedule the scripted file in abinitio?
2 answers:-You could use tivilo maestro for the batch schedule. This will call a unix
shell script that calls the abinitio graph.
(OR)
We can schedule scripts by using Cron job only.
241. How to create multifile system in windows?
Asked By: prakash25 | Asked On: Aug 9th, 2006
2 answers:-Hi we can create multi file by 2 waysone is go to run tab in gde,and go to
execute command there give m_mkfs contro_partition data_partition1
data_partition2.........data_partitionn eg:m_mkf...
(OR)
in the GDE go to RUN --> Â "execute command",M_mkfs will help you create
multifile system.type the control partition, and the rest of the locations where your
data can go or from where you want to acc...
242. How to pass i/p file name as parameter while running a graph by
wrapper(back end ) ?
Asked By: Nilanjan | Asked On: Sep 3rd, 2006
1 answer:-Hi All,You can pass the i/p file name as parameter using Graph level
parameter which is for particularly first graph if this graph only using that input file and
another parameter file for another gra...
243.I am having a control file which consists of 4 mfs files, I want to add
other 4 files to the same control file, how can I do and how to convert it into a
directory?
1 answer:-Use m_mkdir command to add more directories to the already existing
directory structure.
-10-
244. How to pass a condition of filter by expression as a parameter while
running a graph by wrapper ( back-end) ?
Asked By: Nilanjan | Asked On: Sep 3rd, 2006
1 answer:-First of all define a "Formal" Keyword Parameter of type string. e.g Let us
say you defined paramter by name "FilterCondition". And you want your filter to be
"COUNT > 0"Now on your com...
245.What does layout means in terms of ab initio?
3 answers:-hi, am adding some more what i know...
the layout of program components tells the co>os that where the component is
running and the layout of dataset components tells that where the data is
available....
(OR)
layout describes the following to the co>operating system:1.the location of a
serial file2.the number and locations of the partitions of the multifile3.the number
of, and the locationsat which...
246.What does dependency analysis mean in ab initio?
Asked By: Godhuly | Asked On: Aug 3rd, 2006
1 answer:-dependency analysis will answer the questions regarding datalinage.that is
where does the data come from,what applications prodeuce and depend on this data
etc..
247.How to create repository in abinitio for stand alone system(local nt)?
1 answer:-Answered by: Prasad on: Aug 9th, 2006
Hi, If you are trying to install the Ab -Initio on stand alone machine , then it is not
necessary to create the repository , While installing It creates automatically for
you under abinitio folder ( ...
248.What do you mean by .Profile in abinitio and what does it contains?
1 answer:-.profile is a file which gets executed automatically when that particular user
logging in.you can change your .profile file to include any commands that you want to
execute whenever u logging in.you c...
249. How to work with parameterized graphs?
4 answers:- for design your graph as a parameterised
you should declare the parameter scope "formal"
(OR)
One of the main purpose of the parameterized graphs is that if we need to run the
same graph for n number of times for different files, we set up the graph
parameters like $INPUT_FILE, $OUTPUT_FILE et...
250.Have you worked with packages?
3 answers:-Packages are nothing but the reusable blocks of objects like transforms,
user defined functions, dmls etc. These packages are to be included in the transform
where you use them. For example, cons...
need more elobirated with example .
251.How does maxcore works?
6 answers:-Every component in Ab initio has a memory of 7MB (anybody correct me if
I'm wrong) except a few components like In-Memory components such as join, Rollup,
Scan, join with DB etc., which uses an a...
It is maximum temporary scratchpad memory allowed for execution of a in-
memory component/per partition.
252.Can anyone give me an example of real-time start script in the graph?
2 answers:-Here is a simple example to use a start script in a graph:In start script lets
give as:export $DT=`date '+%m%d%y'`Now this variable DT will have today's date before
the graph is run.Now somewhere in t...
(OR)
If you want to run the graph iff the output file exists then you can write a script in
start script to do the same.
psuedo script:
if out.dat not exists
exit
endif
253.What is data mapping and data modelling?
1 answer:-data mapping deals with the transformation of the extracted data at FIELD
level i.e. the transformation of the source field to target field is specified by the mapping
defined on the target ...
254. Can we load multiple files?
2 answers:-Load multiple files from my perspective means writing into more than one
file at a time. If this is the same case with you, Ab initio provides a component called
Write Multiplefiles (in dataset Compo...
there are so many ways to do this, i am giving one example due to time constraint
Using MFS system you can do
255.What is the difference between .Dbc and .Cfg file?
Asked By: rupal | Asked On: Apr 26th, 2006
3 answers:-.cfg file is for the remote connection and .dbc is for connecting the
database ..cfg contains :1. The name of the remote machine2. The username/pwd to
be used while connecting to the db.3. The locatio...
(OR)
.dbc is database configuration fileand.cfg is database table configuration file
256.Can anybody please add some questions on terdata utilities.?
Answer Question ?
257.Hello friends,how to execute the graph from start to end stages? Tell me
and how to run graph in non-abinitio system?
1 answer:-there are so many ways to do this, i am giving one example due to time
constraint
you can run components according to phasea how you defined.
by creating ksh, sh scripts also you can run,
258. How will you use eme for view/publish metadata reports using eme?
1 answer:-what is "metadata reports"?
259.Can anyone please explain the environment varaibles with example.
1 answer:-Environemental variables server as global variables in unix envrionment.
They are used for passing on values from a shell/ process to another. They are inherited
by Abinitio as sandbox variables/ grap...
259.When running a stored procedure definition script how would you
guarantee the definition could be "rolled back" in the event of problems.?
1 answer:-There are quite a few factors that determines the approach such as what
type of version control are used, what is the size of the change, what is the impact of
the change, is it a new procedure or rep...
260.Describe how you would ensure that database object definitions (tables,
indices, constraints, triggers, users, logins, connection options, and server
options etc) are consistent and repeatable between...?
1 answer:-Take an entire database backup and restore it in different instance.
Take a statistics of all valid and invalid objects and match.
Periodically refresh
261.Hi can anyone tell me what happens when the graph run? I.E the co-
operating system will be at the host, we are running the graph at some other
place. How the co-operating system interprets with native...?
Asked By: Saravanan Shanmuganathan | Asked On: May 12th, 2006
3 answers:-when you run gde the co-op sys converts the gde into local langg of unix.
co-op sys acts like interpretator to operating system.
(OR)
hi sunithawhen ever you press Run button on your GDE,the GDE genarates a
scriptand the genarated script will be transfered to your host which is specified in
to your GDE run settings. then the Co>o...
262. How will you test a dbc file from command prompt ??
1 answer:-try "m_db test myfile.dbc"
-11-
263.How to find the number of arguments defined in graph?
3 answers:-$# - No of positional parameters
$? - the exit status of the last executed command.
Answered by: cndraa on: May 13th, 2006
then what is $# and $? ...
263. Hi i'm unable to connect sever database(Oracle) from gde(db config file)
local system.I set all these tags1)database:2)database
version3)db_home4)db_node5)db_host6)user7)default_database_layoutstill
i'm...?
1 answer:-Hi ChalapathiFirst we can check the properties in internet options and then
u can check in cmd format telenet abinitio ip_add .i think it will help u
.Cheers..........Koganti
264.What is brodcasting and replicate ?
5 answers:-Broadcast - Takes data from multiple inputs, combines it and sends it to all
the output ports. Eg - You have 2 incoming flows (This can be data parallelism or
component parallelism) on Bro...
(OR)
replicate generates multiple straight flows as the output where as broadcast results
single fanout flow.
replicate improves component parallelism where as broadcast improves data
parallelism.
265.What is local and formal parameter?
2 answers:-local parameter is like local variable in c language where as formal
parameter is like command line argument we need to pass at run time.
(OR)
Two are graph level parameters but in local you need to initialize the value at the
time of declaration where as globle no need to initialize the data it will promt at
the time of running the graph for that parameter.
266. What is driving port? When do you use it?
2 answers:-driving port in join supplies the data that drives join . That means, for every
record from the driving port, it will be compared against the data from non driving
port.We have to set the driving port...
(OR)
When you set the sorted-input parameter of "JOIN" component to "In memory:
Input need not be sorted", you can find the driving port. Generally driving port
use to improve performance in a ...
267.Sift links to mfs files on UNIX for ab initio ? What is this ....2) $pound
what is this 3) $? What for it is used 4) types of loading 5 overwrite when it
used ?
2 answers:-thanks for ur answers ! still im not getting clarity on Sift links to MFS files
on Unix for Ab Initio ? what is this.. can u explain with real example
(OR)
Link is a command where in unix we use for when the original file is deleted
when we create a link the other replaces file exists.Example: ln file 1 file2$#
Total number of positional parameters.$? ex...
268.What is ab_local expression where do you use it in ab-initio?
3 answers:-in some cases abinitio will not recognize some part of sql statments and
unable to read the table.. to avoid this we have use AB_LOCAL() and table name when
ever we use clauses like WHERE condition
(OR)
one example is, if you want to use oracle hint in your select query at input
table...u should use AB_LOCAL(table) to parse the query at Database sQL engine
not by AI parser.
It is mainly used at parallel unload.
269. What are the different versions and releases of abinitio (gde and co-op
version)?
2 answers:-any idea when these versions are released
Answered by: Rupal on: Mar 23rd, 2006
for GDE 1.10, 1.11, 1.12, 1.13, and 1.15 is latest one. For Co-Op latest one is
2.14.
270. What is $mpjret? Where it is used in ab-initio?
Asked By: rupal | Asked On: Mar 2nd, 2006
3 answers:-same as $?....but it will give u return status of mp run cmd...capture and
use it at end script to display and notify warning/success and failure msg
(OR)
U can use $mpjret in endscript like
if 0 -eq($mpjret)
then
echo "success"
else
mailx -s "[graphname] failed" mailid
271. What are differences between different gde
versions(1.10,1.11,1.12,1.13and 1.15)?What are differences between different
versions of co-op?
1 answer:-1.10 is a non key version and rest are key versions.
There are lot of components added and revised at following versions.
272.Have you eveer encountered an error called "depth not equal"? (this
occurs when you extensively create graphs it is a trick question)?
2 answers:-Thanks to Ashim for more
clarification...**********************************I have talked about a situation
where you have linked2 components - each of them having different layouts.Think
about a situa...
(OR)
When two components are linked together if their layout doesnot match then this
problem can occur during the compilation of the graph. A solution to this problem
would be to use a partitioning component in between if there was change in
layout.
273. How many components in your most complicated graph?
Asked By: Interview Candidate | Asked On: Sep 5th, 2005
2 answers:-This is a tricky question, number of component in a graph has nothing to do
with the level of knowledge a person has. On the contrary, a proper standardized and
modular parametric approach will reduce...
(OR)
It depends the type of components you us.
usually avoid using much complicated transform function in a graph.
274. Which one is faster for processing fixed length dmls or delimited dmls
and why ?
1 answer:-Fixed length DML's are faster because it will directly read the data of that
length without any comparisons but in delimited one,s every character is to be
compared and hence delays
275. What are the contineous components in abinitio?
1 answer:-Contineous components used to create graphs,that produce useful output
file while running continously
Ex:- Contineous rollup,Contineous update,batch subscribe
276.How will you test a dbc file from command prompt ??
2 answers:-Hi ,You can test a dbc file from unix command prompt using m_db test
<name-of-the dbc file> which tests the data base connection, data base version, user
name, password, database ...
(OR)
You can test a dbc file from command prompt(unix) using m_db test <name-of-
dbc file> command which gives the checking of data base connection, version of
data base, user
277. Explain the difference between the “truncate” and "delete" commands.?
3 answers:-Answered by: karthik on: Jan 18th, 2006
When you use truncate all the space alloted for the records along with records gets
deleted and if you use delete only the records are deleted and the space allocated
for the records remains unaltered.
(OR)
Truncate :- It is a DDL command, used to delete tables or clusters. Since it is a
DDL command hence it is auto commit and Rollback can't be performed. It is
faster than delete.Delete:- It is DML comma...
278.How to retrive data from database to source in that case whice
componenet is used for this?
1 answer:-To unload (retrive) Data from the database DB2, Informix, or Oracle we
have components like Input Table and Unload DB Table by using these two components
we can unload data from the database
279.Describe the elements you would review to ensure multiple scheduled
"batch" jobs do not "collide" with each other.?
1 answer:-Because every job depend upon another job for example if you first job
result is successfull then another job will execute otherwise your job doesn't work.
280.When using multiple dml statements to perform a single unit of work, is
it preferable to use implicit or explicit transactions, and why.?
1 answer:-Because implicit is using for internal processing and explicit is using for user
open data requied.
281.How do you add default rules in transformer?
1 answer:-Double click on the transform parameter of parameter tab page of
component properties, it will open transform editor. In the transform editor click on the
Edit menu and then select Add Default Rules from the dropdown. It will show two
options - 1) Match Names 2) Wildcard. -12-
282.What are kinds of layouts does ab initio supports?
1 answer:-Basically there are serial and parallel layouts supported by AbInitio. A graph
can have both at the same time. The parallel one depends on the degree of data
parallelism. If the multi-file system is 4...
283.What is the difference between look-up file and look-up, with a relevant
example?
2 answers:-A lookup is a component of abinitio graph where we can store data and
retrieve it by using a key parameter.
A lookup file is the physical file where the data for the lookup is stored.
(OR)
Generally Lookup file represents one or more serial files(Flat files). The amount
of data is small enough to be held in the memory. This allows transform functions
to retrive records much more quickly than it could retrive from Disk.
i have No general idea about lookup.
284.Describe the process steps you would perform when defragmenting a
data table. This table contains mission critical data.?
1 answer:-There are several ways to do this:1) We can move the table in the same or
other tablespace and rebuild all the indexes on the table.alter table <table_name> move
<tablespace_name> this act...
285.How would you find out whether a SQL query is using the indices you
expect?
1 answer:-explain plan can be reviewed to check the execution plan of the query. This
would guide if the expected indexes are used or not.
286.Why might you create a stored procedure with the 'with recompile'
option?
1 answer:-Recompile is useful when the tables referenced by the stored proc
undergoes a lot of modification/deletion/addition of data. Due to the heavy
modification activity the execute plan becomes outdated an...
287.How do you add default rules in transformer?
3 answers:-
[email protected] In case of reformat if the destination field names are
same or subset of the source fields then no need to write anything in the reformat
xfr unless you dont want to use any ...
(OR)
1)If it is not already displayed, display the Transform Editor Grid.
2)Click the Business Rules tab if it is not already displayed.
3)Select Edit > Add Default Rules.
288.What are the inserted and deleted tables and what are they used for?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
289.Why might the optimizer use a table scan when an index is available?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
290. Describe where you would use each of the following index types in
relation to query type and/or data set: hashed, sorted, bitmapped (ranked),
clustered?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
291. In the scenario outlined in #18 and given that the output table(s) will be
accessed by concurrent readers describe how your SQL code would be
structured to minimize lock contention.?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question ==?
292.Describe which database structural and physical elements you would
review when optimizing query performance.?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
293.Describe typical activities or elements of investigation you would employ
when trouble shooting complaints of localized process slowness.?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
294. What is the T-SQL command element you would use to place a logical
object (table or index) on a specific physical file (file group).
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
Answer Question
295. Describe how you would monitor and control database physical file size and
growth.?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004
296. Answer QuestionDescribe what the SQL server tempdb and tlog
file(s)are used for.?
Asked By: Interview Candidate | Asked On: Aug 26th, 2004