---
title: "COBOL VB Files – Top Interview Questions"
description: "Variable records are very common in Mainframe real-time projects. The data varies in length. The awesome collection of question on VB files really an asset for you to review quickly when you are in leisure or working on the COBOL project."
url: https://srinimf.com/2015/02/04/cobol-tough-interview-questions-on-vb-files/
date: 2015-02-04
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/02/pexels-photo-4792286.jpeg?fit=1880%2C1255&ssl=1
categories: ["COBOL"]
tags: ["COBOL Tips and Tricks", "Interview Questions"]
type: post
lang: en
---

# COBOL VB Files – Top Interview Questions

These are [COBOL interview questions](https://srinimf.com/2016/09/07/21-exclusive-cobol-2-questions-for-advanced-developers/) on variable record(VB) files. Some of these questions I have gathered from my friends. The collection is here to go.

Related[COBOL OCCURS Clause How to Code Correctly](https://srinimf.com/2015/12/26/3-ingenious-cobol-occurs-examples-that-you-never-miss/)

## 6 Interview Questions

1. VB files can have variable-length data. This length you can set by using the “Depending On” clause.
2. Table with OCCURS ( for VB  or FB) can have a maximum of 7 dimensions
3. The key value of an Array must not exceed 256 bytes
4. The EXIT PROGRAM statement should be the last statement. Else, the statements following it will not execute even CALL statement is active.
5. VB files record structure should use at separate 01 levels.
6. In Evaluate, the executions continue to the next executable statement following the scope delimiter, if you do not use either of these WHEN/ WHEN OTHER**.**

Related Posts

- [COBOL: How to Create a VB Array](https://srinimf.com/2020/04/26/cobol-how-to-create-a-vb-array/)DateApril 26, 2020
- [How to Create VB file Using Varying Clause in COBOL](https://srinimf.com/2010/09/02/cobol-variable-recordvb-files/)DateSeptember 2, 2010
- [How to Create VB File in COBOL](https://srinimf.com/2012/07/08/cobol-how-to-create-vb-file/)DateJuly 8, 2012

Get new content delivered directly [to your](https://srinimf.com/2014/03/25/db2-v10-daily-tips-email/) inbox.

Type your email…

Sign up

Related[Exclusive CICS EIBCALEN and DFHCOMMAREA](https://srinimf.com/2012/05/31/cics-eibcalen-receivedfhcommarea/)

### 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%2F2015%2F02%2F04%2Fcobol-tough-interview-questions-on-vb-files%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F02%2Fpexels-photo-4792286.jpeg%3Ffit%3D1200%252C801%26ssl%3D1&description=COBOL%20VB%20Files%20-%20Top%20Interview%20Questions)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/02/04/cobol-tough-interview-questions-on-vb-files/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/02/04/cobol-tough-interview-questions-on-vb-files/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/02/04/cobol-tough-interview-questions-on-vb-files/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/02/04/cobol-tough-interview-questions-on-vb-files/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20COBOL%20VB%20Files%20-%20Top%20Interview%20Questions&body=https%3A%2F%2Fsrinimf.com%2F2015%2F02%2F04%2Fcobol-tough-interview-questions-on-vb-files%2F&share=email)
-

### Like this:

Like Loading…