---
title: "Top DB2 Load Utility Interview Questions"
description: "Load utility in DB2, to load bulk data, very popular. The questions given in this post are useful for interviews."
url: https://srinimf.com/2019/01/15/db2-load-utility-useful-questions-for-interviews/
date: 2019-01-15
modified: 2022-11-25
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2019/01/pexels-photo-4114787.jpeg?fit=1880%2C1253&ssl=1
categories: ["Mainframe DB2"]
tags: ["DB2 Load Utility", "Interview Questions"]
type: post
lang: en
---

# Top DB2 Load Utility Interview Questions

DB2 Load utility most people think that it is the Admin task. But it is a developer task too. Load utility highly useful when the volume of data is more.

---

Advertisements

## **Top Interview Questions**

INSERT and Import gives better performance. **Access Control to Load Utility**. You need these two accesses:

- SYSADM
- DBADM

**SQL State Error 5U014 **

During Load operation, if there are any protected columns, you will get 5U014 error. So you need[](https://www.oreilly.com/library/view/understanding-db2-9/0131345907/ch06.html)**[LBAC access](https://www.oreilly.com/library/view/understanding-db2-9/0131345907/ch06.html)**to your session id.

### **Types of Storage in DB2**

Storage in Db2 Explained

#### **The Important Modes on Load Utility**

1. INSERT
2. REPLACE
3. RESTART
4. TERMINATE

INSERT

- The INSERT mode, just append the new rows in the Table. It will not DELETE any rows.

Related[How to Understand DB2 Load Vs Import](https://srinimf.com/2015/12/15/want-to-know-more-about-import-load-and-special-register-in-db2/)

REPLACE

- It DELETEs all the rows, and inserts new rows in Table. The definition of Table and Indexes will not be changed.
- ** One of the best interview question

RESTART

- It restarts from the previously committed point. That means, where it stopped previously.

TERMINATE

- The Terminate mode is little tricky. It Terminates till the point where it initially started.
- It brings all the objects and indexes to normal.
- The LOAD TERMINATE issues on LOAD REPLACE, then it keeps in a state that, Table data truncates. That means, you can see empty Tables.
- The LOAD TERMINATE will not remove backup pending state.
- The LOAD TERMINATE issues on LOAD INSERT, The Table will retain all its original rows. That means the Table will be as before when you start LOAD INSERT.

DEFFERRED

- It means the indexes will not build during a load operation. But, these can be build using REBUILD mode.

Related Posts

- [DB2 Load Utility: Here are Top Parameters](https://srinimf.com/2017/11/21/db2-load-utility-top-parameters-example-jcl/)DateNovember 21, 2017
- [DB2 Tough Questions (2 of 4)](https://srinimf.com/2012/01/26/db2-toug-questions-2-of-4/)DateJanuary 26, 2012
- [How to Insert Rows in DB2 Tables: 2 Top Methods](https://srinimf.com/2015/09/16/3-ways-of-data-movement-in-db2/)DateSeptember 16, 2015

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2019%2F01%2F15%2Fdb2-load-utility-useful-questions-for-interviews%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2019%2F01%2Fpexels-photo-4114787.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=Top%20DB2%20Load%20Utility%20Interview%20Questions)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2019/01/15/db2-load-utility-useful-questions-for-interviews/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2019/01/15/db2-load-utility-useful-questions-for-interviews/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2019/01/15/db2-load-utility-useful-questions-for-interviews/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2019/01/15/db2-load-utility-useful-questions-for-interviews/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20Top%20DB2%20Load%20Utility%20Interview%20Questions&body=https%3A%2F%2Fsrinimf.com%2F2019%2F01%2F15%2Fdb2-load-utility-useful-questions-for-interviews%2F&share=email)
-

### Like this:

Like Loading…
