Tag: databases

Questions Related to databases

B37 abend during SPUFI is due to

  1. Space Issues

  2. Data Issues

  3. No records found while querying the table

  4. Both a & b


Correct Option: A

AI Explanation

To answer this question, we need to understand what a B37 abend is and its possible causes.

A B37 abend is an error that occurs in IBM's Mainframe environment, specifically in the Job Control Language (JCL) when executing a job or a utility like SPUFI (SQL Processor Using File Input). It indicates that there is insufficient space available to complete the job or utility.

Given this information, let's go through each option to understand why it is correct or incorrect:

Option A) Space Issues - This option is correct because a B37 abend is indeed caused by insufficient space. When executing SPUFI, if there is not enough space allocated for the job or utility, it will result in a B37 abend.

Option B) Data Issues - This option is incorrect. While data issues can cause errors in SPUFI or other utilities, a B37 abend specifically relates to space issues and not data issues.

Option C) No records found while querying the table - This option is incorrect. A B37 abend does not occur due to a lack of records found while querying a table. It is solely related to space issues.

Option D) Both a & b - This option is incorrect. A B37 abend is only due to space issues and not data issues.

Therefore, the correct answer is A) Space Issues. This option is correct because a B37 abend during SPUFI is indeed caused by insufficient space.

  1. The application must release the row-level Share lock it holds and acquire an Update lock on the row

  2. The application must release the row-level Share lock it holds and acquire an Update lock on the table

  3. The row-level Share lock will automatically be converted to a row-level Up-date lock

  4. The row-level Share lock will automatically be escalated to a table-level Up-date lock


Correct Option: C
  1. ADMIN Privileges

  2. CREATETAB Privileges

  3. No Privileges

  4. USERTAB Privileges


Correct Option: B
  1. Control Center

  2. Command Center

  3. Command Line Processor

  4. Task Center


Correct Option: D

How do you find the total number of rows in a table ?

  1. SELECT COUNT *

  2. SELECT COUNT(*)

  3. SELECT COUNT[*]

  4. SELECT COUNT(ALL)


Correct Option: B

Which authority or privilege is granted by the DB2 Database Manager configuration file?

  1. CONNECT

  2. CONTROL

  3. SYSMAINT

  4. EXECUTE


Correct Option: C