View previous topic :: View next topic
|
Author |
Message |
enileshk Warnings : 1 New User
Joined: 05 Feb 2006 Posts: 7 Location: India
|
|
|
|
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 |
|
|
gs_sekhar
New User
Joined: 06 Oct 2009 Posts: 2 Location: Chennai
|
|
|
|
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 |
|
|
mkarthikeyan
New User
Joined: 07 Aug 2008 Posts: 34 Location: Bangalore
|
|
|
|
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 |
|
|
enileshk Warnings : 1 New User
Joined: 05 Feb 2006 Posts: 7 Location: India
|
|
|
|
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 |
|
|
|