View previous topic :: View next topic
|
Author |
Message |
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
hi all,
can anyone clarify me what does CMPAT=YES mean in a PSB. i identify this option being specified in PSB's for components which have XRST and CHKP calls.
thanks in advance,
gowtham |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Hi Goutham,
"CMPAT=YES" is used to guarantee that the program using the PSB will always be given an IO-PCB at run time;which I think that we will be specifying a IO-PCB in the ENTRY stmt.
So,
If you specify CMPAT=Y, the PCB list contains the address of the I/O PCB, followed by any alternate PCBs, and then the DB PCBs.
If you do not specify CMPAT=Y, the PCB list contains the addresses of any alternate PCBs followed by the addresses of the DB PCBs.
Note: alternate PCBs is different from I/O PCB's
corrections welcomed....
Thanks,
Rajesh |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
Hi Rajesh,
i do know that we need to specify an IO-PCB with CMPAT=YES. i need clarification what does this option signify? what it means?
regards,
gowtham |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
Hi Gowtham,
I think if CMPAT=YES is provided,then we should definitely specify the IO-PCB.If it is NO it might assume some dummy IO-PCB...
corrections welcomed....
Thanks,
Rajesh |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
hi rajesh,
i get what you say. my question is, what does CMPAT=YES mean? why do we need to specify an IO-PCB for that?
kind regards,
gowtham |
|
Back to top |
|
|
mbr_raja
New User
Joined: 15 Nov 2004 Posts: 26 Location: Chennai, India
|
|
|
|
If Compact=yes, then It's guaranteed as IMS DC program, and this PSB will be avialble only at the on-line. |
|
Back to top |
|
|
amitchaudhary Warnings : 1 New User
Joined: 13 May 2005 Posts: 8
|
|
|
|
Hello all,
I found the following description on the net . may be it will will give you a more elaborate answer
"To test message processing or batch message processing programs in a batch processing region, use the CMPAT option of the PSBGEN statement. When CMPAT=YES is specified, IMS provides PCBs to the application as if it were executing in a message processing region. Using CMPAT eliminates the need to recompile the program between batch and online executions.
In the case of a batch program, no I/O PCB exists in the list unless you request it with the CMPAT option on the PSBGEN statement. Therefore, if CMPAT=YES is not specified, the PCB list provided to the program has a direct relationship to the PCBs within the PSB. No TP PCBs should be contained in a PSB for batch processing in a batch processing region.
In a TM batch environment, CMPAT=YES is implied and cannot be overridden by PSBGEN. The PCB list for application programs running in a DCCTL batch region always contains an I/O PCB.
you can check the same on this link
publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims.doc.urs/ie0u3mst04.htm |
|
Back to top |
|
|
honeypria567
New User
Joined: 20 Nov 2006 Posts: 14 Location: chennai
|
|
|
|
Hi Goutham,
CMPAT=YES is used in CHKP,XRST CALLs
"CMPAT=YES" is used to guarantee that the program using the PSB will always be given an IO-PCB at run time;that will be specifying a IO-PCB in the ENTRY stmt.
If you specify CMPAT=Y, the PCB list contains the address of the I/O PCB, followed by any ALT- PCBs, and then the DB PCBs.
If you don't specify CMPAT=Y, the PCB list not contains the addresses of any ALT PCBs followed by the addresses of the DB PCBs.
Let me know if i was wrong.
Thanks,
Honey |
|
Back to top |
|
|
|