---
title: "IMS DB: Why PCBs Must Give In Sequence In ENTRY"
description: "As we all know, PSB is a database, it represents database view to the application program . And, PSBs are combination of various PCBs. So each PCB represents to one segment. In the PSB generation, we..."
url: https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/
date: 2012-05-06
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2012/05/pexels-photo-4792286.jpeg?fit=1880%2C1255&ssl=1
categories: ["IMS DB"]
tags: ["IMS DB Tips and Tricks"]
type: post
lang: en
---

# IMS DB: Why PCBs Must Give In Sequence In ENTRY

As we all know, PSB is a database, it represents database view to the [application program](https://srinimf.com/2015/05/13/top-imsdc-interview-questions-part-1/). And, PSBs are combination of various PCBs. So each PCB represents to one segment.

In the PSB generation, we can code in PCB blocks of [sensitive segments](https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/) and sensitive fields. To run each batch program , [we need to](https://srinimf.com/2016/11/08/why-sorting-is-needed-for-search-all/) supply Program-name and PSB-name in JCL thru Parm parameter.

PARM=(DLI, Program-name,PSB-name,,,).

Very important points to remember are just read the below bullet ones:

- In the Entry DLITCBL USING PCB1

PCB2,  ***the PCB masks must be in sequence of PSB. Since, entry statement uses PCBs as per address. If we do not give PCBs as per sequence your program will abend.***

- If we use multiple sub-programs in an [IMS program](https://srinimf.com/2011/04/11/ims-test-jcl-sample/), only in the main program we have to give ENTRY DLITCBL  statement-NOT needed in the sub-programs.
- One PSB is enough(normally we supply it in the JCL) even all the sub-programs in the main-program are IMS programs.

Related[Why DLITCBL in IMS DB programs you need](https://srinimf.com/2016/10/18/why-dlitcbl-in-ims-db-programs/)

### 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%2F2012%2F05%2F06%2Fims-db-why-pcbs-must-give-in-sequence-in-entry-statement%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2012%2F05%2Fpexels-photo-4792286.jpeg%3Ffit%3D1200%252C801%26ssl%3D1&description=IMS%20DB%3A%20Why%20PCBs%20Must%20Give%20In%20Sequence%20In%20ENTRY)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20IMS%20DB%3A%20Why%20PCBs%20Must%20Give%20In%20Sequence%20In%20ENTRY&body=https%3A%2F%2Fsrinimf.com%2F2012%2F05%2F06%2Fims-db-why-pcbs-must-give-in-sequence-in-entry-statement%2F&share=email)
-

### Like this:

Like Loading…
