What is a PCB Mask?

RDBMS from IBM and IBM's Hierarchical DBMS and Transaction Manager (IMS DC).
Post Reply
LalitaForums
New Member
Posts: 8
Joined: Thu Jul 31, 2014 11:33 am

What is a PCB Mask?

Post by LalitaForums »

Hi,

Can you please explian me what is a PCB mask? I have read through the manuals but I do not get it. Can there be a simple explnation about it?

Is not it just same as PCB?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: What is a PCB Mask?

Post by Anuj Dhawan »

Hi LalitaForums,

No - it is not same as PCB. After all "mask" must have been added for some purpose! :)

Every (COBOL-IMS) program will have its own PSB known as 'Program Specification Block'. The PSB used by a program will contain one or more PCBs. For a program to communicate to the database, program talks to PSB ( as PSBs are stored externally to the application program) and in turn, talks to the database. In doing so, program needs a communication with PCBs in the PSB - which is done using PCB Masks.

The PCB mask holds IMS interface details like this:

Code: Select all

Database Name			    Char 8
Hierarchical Level		  Char 2
DLI Status Code			  Char 2
Processing Options		  Char 4
Reserved for DL/1		   Binary 4
Segment Name Feedback     Char 8
Feedback Key Length		 Binary 4
Number of Sensitive		 Binary 4
Segments
Key Feedback Area		   Char n
Hope this helps.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM DB2 and IMS DB/DC”