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

how transaction invokes the program from csd point of view


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Harsha1525

New User


Joined: 22 Dec 2009
Posts: 24
Location: hyderabad

PostPosted: Tue Jun 24, 2014 3:37 pm
Reply with quote

CICS locates the application program associated with the transaction, loads it into storage by utilizing tables such as PCT,PPT and RCT etc... and if i am correct all these resource definitions are moved to CSD file. i got the information how transaction identify the program when cics used to read the PCT,PPT and RCT tables etc. now what i am unable to understand/get the information is how transaction identify the program and load into storage when all the cics resources are available in csd file.
thanks in advance...
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Jun 24, 2014 8:08 pm
Reply with quote

The CSD is read by CICS Internals, the requested Transaction-Id is located (this is defined to the PCT entry), the program associated with the Transaction-Id is determined (this is defined to the PCT entry as well), then the PPT entry is located and the program is launched.

If PPT-Autoinstall is being used (Dynamic PPT) and this is the first-time program-usage, the Autoinstall-Exit builds the PPT entry and the process continues.

I won't get into the real technical aspects of the CICS Internals, but from a rudimentary standpoint, this should be all you need.

HTH....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 24, 2014 8:08 pm
Reply with quote

When you define a transaction, be it through RDO or PCT (which is now obsolete, by the way), you MUST provide two critical pieces of information: the transaction code (4 characters) and the program associated with the transaction. When an otherwise unused terminal gives data to CICS (via ENTER key or PA key or PF key or ....), the first four characters CICS gets are the transaction. CICS looks up that transaction, identifies the associated program, and if it is not in memory CICS loads it, then executes that program. This is a grossly simplified explanation but it should resolve your question.
Back to top
View user's profile Send private message
Harsha1525

New User


Joined: 22 Dec 2009
Posts: 24
Location: hyderabad

PostPosted: Wed Jun 25, 2014 2:04 pm
Reply with quote

Thank you bill and robert
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 -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Point and Shoot )PTNS TSO/ISPF 0
No new posts SET PATH in View DDL DB2 2
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top