Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how transaction invokes the program from csd point of view

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
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    Post subject: how transaction invokes the program from csd point of view
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Jun 24, 2014 8:08 pm    Post subject: Reply to: how transaction invokes the program from csd point
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: 7999
Location: Bellevue, IA

PostPosted: Tue Jun 24, 2014 8:08 pm    Post subject: Reply to: how transaction invokes the program from csd point
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    Post subject: Reply to: how transaction invokes the program from csd point
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    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us