Practice Question and Answer

Q: What is meant by index cardinality? 1851 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

The number of distinct values for a column is called index cardinality. DB2's RUNSTATS utility analyzes column value redundancy to determine whether to use a tablespace or index scan to search for data.

Q: Why SELECT * is not preferred in embedded SQL programs? 2131 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

- If the table structure is changed ( a field is added ), the program will have to be modified. - Program might retrieve the columns which it might not use, leading on I/O over head. - The chance of an index only scan is lost.

Q: When does the SQL statement gets executed when you use cursor in the application programming? 918 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

SQL statement gets executed when we open cursor

Q: What is QUIESCE? 1267 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

A QUIESCE flushes all DB2 buffers on to the disk. This gives a correct snapshot of the database and should be used before and after any IMAGECOPY to maintain consistency.

Q: In terms of DB2 indexing, what is the root page? 988 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

The simplest DB2 index is the B-tree and the B-tree's top page is called the root page. The root page entries represent the upper range limits of the index and are referenced first in a search.

Q: In a DB2-CICS program which acts as co-ordinator and which is the participant? 1819 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

DB2 acts as the participant and CICS acts as a co-ordinator

Q: What is CICS? 1815 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Customer Information Control System (CICS) is an online transaction processing monitor from IBM that acts as an interface between the operating system and application programs to provide rapid high-volume online transaction processing.

Q: What CICS command are used to read a VSAM KSDS sequentially in ascending order? 1426 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

READNEXT reads the next record from a browse operation for any of the three VSAM files.

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully