Home
11.
What is the SQLCODE -818 ?

The code will be generated when the consistency tokens in the DBRM and the load module are different.

12.
Can you tell me the View Updatate is possible ?

Not all of them, Some views are updatable for ex: single table view with all the fields or mandatory fields Examples of non-updatable views are views which are joins, views that contain,aggregate functions(such as MIN), and views that have GROUP BY clause.

13.
What are the four environments which can access DB2 ?

The four enviroments are

  • TSO
  • CICS
  • IMS
  • BATCH

14.
Define inner JOIN, and an outer JOIN ?

strong>Inner Join: Inner Join combines information from two or more tables by comparing all values that meet the search criteria in the designated column or columns of one table with the entire clause in corresponding columns of the other table or tables. This kind of join which involves a match in both columns are called inner joins.

Outer join: Outer join is one in which you want both matching and non-matching rows to be returned. DB2 has no specific operator for outer joins; it can be simulated by combining a join and a correlated sub query with a UNION.

15.
FREEPAGE and PCTFREE in TABLESPACE creation?

PCTFREE:PCTFREE is Percentage of each page to be left free

FREEPAGE:FREEPAGE is Number of pages to be loaded with data between each free page.