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.

In PSB macro;

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

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.