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

3 threads of ProgA simultaneously XCTL to ProgB


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Keanehelp

New User


Joined: 27 May 2008
Posts: 71
Location: USA, CA.

PostPosted: Sat Mar 21, 2009 6:46 am
Reply with quote

ProgA - main program
ProgB - sub program

3 threads of ProgA simultaneously XCTL to ProgB. Will there be 3 copies of ProgB executing in parallel or 1 copy will be used ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Mar 21, 2009 7:13 am
Reply with quote

Hello,

Assuming ProgB is re-entrant, there will be one copy of the procedural code and 3 copies of the variables - one for each execution. CICS provides the memory management.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Event-driven programming (BTS) VS (ST... CICS 2
No new posts Cobol environment variable and XCTL COBOL Programming 4
No new posts Error with opening new threads General Talk & Fun Stuff 0
No new posts To read CICS ceemsg dump simultaneously. CICS 3
Search our Forums:

Back to Top