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

What does CMPAT=YES mean in a PSB


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Wed Mar 22, 2006 11:21 am
Reply with quote

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
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Mar 22, 2006 4:44 pm
Reply with quote

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
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Thu Mar 23, 2006 8:56 am
Reply with quote

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
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Mar 23, 2006 9:35 am
Reply with quote

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
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Fri Mar 24, 2006 10:08 am
Reply with quote

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
View user's profile Send private message
mbr_raja

New User


Joined: 15 Nov 2004
Posts: 26
Location: Chennai, India

PostPosted: Wed Apr 05, 2006 8:21 pm
Reply with quote

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
View user's profile Send private message
amitchaudhary
Warnings : 1

New User


Joined: 13 May 2005
Posts: 8

PostPosted: Thu Feb 15, 2007 10:22 pm
Reply with quote

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
View user's profile Send private message
honeypria567

New User


Joined: 20 Nov 2006
Posts: 14
Location: chennai

PostPosted: Fri Feb 16, 2007 2:40 pm
Reply with quote

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
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts CMPAT = YES to define an IO-PCB IMS DB/DC 3
Search our Forums:

Back to Top