---
title: "IMS DB- SENSEG and SENFLD in PSB"
description: "Sensitive Segments: In a PSB maximum of 30,000 SENSEG statements we can code as per IMS V11. https://srinimf.com/2016/01/26/ims-db-command-code-vs-proc-option/. In PSB macro; https://srinimf.com/2015/..."
url: https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/
date: 2012-05-08
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2012/05/pexels-photo-5332291.jpeg?fit=1880%2C1253&ssl=1
categories: ["IMS DB"]
tags: ["IMS DB Tips and Tricks", "SENSEG Vs SENFLD in IMS DB"]
type: post
lang: en
---

# IMS DB- SENSEG and SENFLD in PSB

## Sensitive Segments:

In a PSB maximum of 30,000 SENSEG statements we can code as per IMS V11.

Related[IMS DB Command Code Vs Proc Option](https://srinimf.com/2016/01/26/ims-db-command-code-vs-proc-option/)

In PSB macro;

Related[IMS DB Tutorial Learn Quickly](https://srinimf.com/2015/06/03/imsdb-refresher-for-mainframe-programmers/)

Col…10      Col..16                                                                Col…72

PCB             TYPE=DB,DBDNAME=DATABASE,           X
                     PROCOPT=A,KEYLEN=22
SENSEG     NAME=A,PARENT=0,PROCOPT=G

So, every PCB refers to a database. The description for each segment is already defined in DBD. So the segments we defined in PSB of PCB statement are called sensitive segments. 

## Sensitive fields:

In PSB macro;

SENSEG  NAME=EMPREC,PROCOPT=A
SENFLD  NAME=EMPNAME,START=1,REPL=N

Sensitive fields are fields we code in PSB, especially those fields if we want to update. Means, in DBD we will have complete description about Segment and its fields, and parent details etc.

In the PSB definition of PCB statement, only we code some fields, these are called sensitive fields.

Related Posts

- [IMS DB Command Code Vs Proc Option](https://srinimf.com/2016/01/26/ims-db-command-code-vs-proc-option/)DateJanuary 26, 2016
- [IMS DB: Top Proc Options to Use in PSB](https://srinimf.com/2012/05/09/imsdb-procopt-in-psb/)DateMay 9, 2012
- [IMS DB: Why PCBs Must Give In Sequence In ENTRY](https://srinimf.com/2012/05/06/ims-db-why-pcbs-must-give-in-sequence-in-entry-statement/)DateMay 6, 2012

### 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%2F08%2Fimsdb-senseg-and-senfld-in-psb%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2012%2F05%2Fpexels-photo-5332291.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=IMS%20DB-%20SENSEG%20and%20SENFLD%20in%20PSB)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2012/05/08/imsdb-senseg-and-senfld-in-psb/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20IMS%20DB-%20SENSEG%20and%20SENFLD%20in%20PSB&body=https%3A%2F%2Fsrinimf.com%2F2012%2F05%2F08%2Fimsdb-senseg-and-senfld-in-psb%2F&share=email)
-

### Like this:

Like Loading…