IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Number of PCB masks


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enileshk
Warnings : 1

New User


Joined: 05 Feb 2006
Posts: 7
Location: India

PostPosted: Sat Jul 17, 2010 7:08 pm
Reply with quote

I have been asked in an interview:

Question: There are 10 PCB defined in PSB, But my program is using only second and seventh PCB. So how many PCB masks I need in Program?

My Answer: 10 PCB masks are required.

I am much sure about my answer but please help me confirm my understanding.
Back to top
View user's profile Send private message
gs_sekhar

New User


Joined: 06 Oct 2009
Posts: 2
Location: Chennai

PostPosted: Fri Jul 23, 2010 12:32 pm
Reply with quote

If you are giving all the 10 PCB pointers in the program, then you suppose to give all the PCB masks. If you want to use only 2nd and 7th then give remaining as dummy PCB poninters and 2 PCBMASKs are enough.
Back to top
View user's profile Send private message
mkarthikeyan

New User


Joined: 07 Aug 2008
Posts: 34
Location: Bangalore

PostPosted: Wed Jul 28, 2010 1:16 am
Reply with quote

enileshk,
You are right. We need 10 PCB Mask in Linkage and it needs to be established properly in procedure division or ENTRY DLITCBL.
Since the program is not going to use other PCB, we don't need to elaborate the PCB Mask.

ie 01 Unused-PCB01 PIC X(50) - First PCB
01 SECOND-PCB.
05 DDBNAME....
05 SEG-LEVEL
...
05 KFA
01 Unused-PCB02 PIC X(40) - third..
Back to top
View user's profile Send private message
enileshk
Warnings : 1

New User


Joined: 05 Feb 2006
Posts: 7
Location: India

PostPosted: Wed Jul 28, 2010 11:53 am
Reply with quote

Thanks for confirming my understanding, It really helps.

mkarthikeyan wrote:
enileshk,
You are right. We need 10 PCB Mask in Linkage and it needs to be established properly in procedure division or ENTRY DLITCBL.
Since the program is not going to use other PCB, we don't need to elaborate the PCB Mask.

ie 01 Unused-PCB01 PIC X(50) - First PCB
01 SECOND-PCB.
05 DDBNAME....
05 SEG-LEVEL
...
05 KFA
01 Unused-PCB02 PIC X(40) - third..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top