Top Cobol And DB2 Interview Questions
What Is The Picture Clause Of Null Indicator Variable?
S9(4) COMP is the picture clause of a null indicator.
Which Component Checks Db2 Deadlocks?
Locking services are provided by Locking services component which is known as Internal Resource Lock Manager (IRLM) and manages concurrency issues and dead locks.
Which Component Is Responsible For Execution Of Sql Statements?
Database services component is responsible for execution of SQL statements and it manages buffer pool also.
Which Component Handles Db2 Startup And Shutdown?
System services component handles DB2 startup and shutdown.
On Which Level We Can Apply The Locks?
Locking can be applied on either of these − Page, table and table space.In Which Step We Specify The Isolation Level?
In Bind step we specify the isolation level.
Which Field In Sqlca Shows The Number Of Updated Rows After Update Statement?
Check the value of SQLERRD to know how many rows got updated after an update statement.
What Is The Physical Storage Length Of Timestamp Data Type?
TIMESTAMP data type takes 10 bytes and default is YYYY-MM-DD:HH:MM:SS-NNNNNN
What Is The Physical Storage Length Of Date Data Type?
DATE data types take 4 bytes and default is ‘YYYY-MM-DD’
Which Component Is Used To Processes Sql Statements And Selects The Access Paths?
DB2 optimizer is used to select the access paths & to process the SQL queries.
In A Cobol-db2 Program All Sql Statements Must Be Coded In Area A. State Whether True Or False?
This statement is incorrect as SQL statements must be coded in Area B.
How Many Clustering Index We Can Have For A Single Table?
We can have only one clustering index for a table.