MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding PPT and PCT entries

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Narsimha
Beginner


Joined: 03 Dec 2002
Posts: 27
Topics: 14

PostPosted: Tue Jan 14, 2003 1:45 am    Post subject: Regarding PPT and PCT entries Reply with quote

Hi,

If program "A" which calls two subprograms "B" and "C", where "B" is a COBOL/CICS and "C" is a COBOL/DB2, then how the PPT and PCT entries are created? Does every online program(even a validation routine) require a PCT entry?

If program "A" is a non-Db2 program which calls another program which is DB2 program then how the RCT entries were created? Please explain me or send me any link if available.


Thanks,
Narsimha
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Tue Jan 14, 2003 3:32 am    Post subject: Reply with quote

Hi,

PPT entries are essential for any CICS application program or mapset that you are using. The PPT entry stores the name of the program/mapset alongwith the address of the load for that program. This entry will be used whenever the program/mapset needs to be loaded.
PCT entry is needed whenever you need a transaction id associated with a program. It is basically a XREF between the transaction id and the program name associated with it. Now, you need at least one PCt entry to start an application with a transaction. After that, PCT entries are needed dependign on your requirements. If you are coding everything in pseudo-conversation and sending maps from each program then not having PCT entries for all programs will do(you need to come back to the program having the PCT entry after each send of any map) but will make your coding of the application a little complex.
RCT entries(Referred to as DB2TRAN and DB2ENTRY now-a-days) are basically a XREF between the CICS transaction that you are running and the plan that you are using via a DB2 Thread. You need a DB2TRAN for each transaction that is mapped to a program using SQLs and you need a corresponding DB2ENTRY to map it to the plan.

Hope I am clear to you. Otherwise go through the CICS Application Programming Guide

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Fri Jan 17, 2003 6:31 pm    Post subject: Reply with quote

Quote:

If you are coding everything in pseudo-conversation and sending maps from each program then not having PCT entries for all programs will do(you need to come back to the program having the PCT entry after each send of any map) but will make your coding of the application a little complex.



This sort of architecture is used by PWB - Programmer's Work Bench tool.
Just an additional info.
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group