Professional Documents
Culture Documents
Interview Ques 1
Interview Ques 1
6)
7) What is precompile ?
8) What is a dbrm ?
9) what is the input to bind and what is it's output ?
INPUT : DBRM
OUTPUT : APPLICATION PLAN.
10) What is a package ?
11) We define cursors on selects - At what stage does the
select actually get executed ?
AT THE TIME OF FETCHING FROM CURSOR.
Ans : When we issue Open Cursor cursor-name.
12) What are the difft levels of locks in DB2 ?
ROW LEVEL LOCKING : CURSOR STABILITY
PAGE LEVEL LOCKING : REPETABLE READ.
13) Where do you specify the Locksize ?
14) What is Cursor Stability and Repeatable Read ?
ISOLATION LEVELS
15) What is a Page in DB2.
32K ,4K
16) In which VSAM type of dataset is the actual DB2
table data stored ?
LDS
17) What is a primary key , Index , secondory Index ,
Foriegn Key ?
18) What are the difft types of table spaces ?
SIMPLE , SEGMENTED , PARTIONED
19) Can you insert rows into a new table without
creating an Index ?
YES
20) What is a Join ?
21) What is a view ? What are its advantages ?
22) What are objects and entities in DB2 ?
23) What are error codes 100 , -803 , -811 , -818 ,
-911 , -913 ?
24) What are +ve error codes?
25) What are Commit and Rollback ?
26) What is Point of Consistency ?
27) What are the delete Rules - Delete with Cascade
- Delete Restrict
- Delete with Set Null
28) What are Indicator Variables ?
SUPPOSE IF THERE ARE NULL VALUES IN A COLUMN AND IF YOU ARE FETCHING THAT
COLUMN IN HOST VARIABLES YOU WILL GET AN ERROR CODE.
SO IN ORDER TO AVOID THAT WE DEFINE INDICATOR VARIABLE .
29) What is SQLCA ? How do you use it in cobol pgm ?
30) Can you drop a column in DB2 table ? Or can you insert
a column in DB2 table ?
NO,YES