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 

CICS commarea retain/release

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


Joined: 08 Sep 2005
Posts: 2
Topics: 1

PostPosted: Thu Sep 08, 2005 7:56 am    Post subject: CICS commarea retain/release Reply with quote

My question is basic and refer to pseudo conversational mode

Consider following three sequence
1) When a program return control to CICS
2) User hit enter on the screen
3) CICS gives the control back to program

In sequence 3, the program is able to get back the commarea memory.

My question is how CICS retains this memory between sequence 1 and 2 and how long does it retain? Is it until sequence 2 happens or user is disconnected?
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: Thu Sep 08, 2005 9:19 am    Post subject: Reply with quote

Koleman,

Quote:

In sequence 3, the program is able to get back the commarea memory.


That is only the case when the program returns control alongwith the TRANSID and COMMAREA parameter coded.
CICS retains this information in its internal storage allocated for that terminal. (TIOA - Terminal Input-Output Area). The CICS terminal control program retains this information until sequence 2 or until the terminal is disconnected, whichever occurs first, and passes this information to the KCP (Task Control program) once sequence 2 is invoked. The KCP then invokes the transaction based on the information that it was passed on from the terminal control program.

HTH....Regards,
Manas
_________________
There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948)
Back to top
View user's profile Send private message Send e-mail 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