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 

Terminal Control Table User Area - TCTUA

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


Joined: 01 Nov 2004
Posts: 19
Topics: 6

PostPosted: Mon Jan 17, 2005 3:47 pm    Post subject: Terminal Control Table User Area - TCTUA Reply with quote

Hello

Please can someone help me with the following query?

Our system utilizes this area to authenticate each user signed on to an application. It's populated when users sign on to the application and cleared down when they sign off. However, if the user does not sign off from our application but signs off from CICS using CESF, user profile in TCTUA is retained.

Quote:
How can TCTUA be cleared automatically when a 3270 VTAM terminal in CICS is released back to the pool ?
Any ideas either from an application programmer's perspective or a CICS system programmer's point of view would be greatly appreciated.

Thanks very much.

Cheers
Ram
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Tue Jan 18, 2005 3:56 am    Post subject: Reply with quote

How about differing the CESF transaction to a program of your own and after clearing the TCTUA transfer control back to the CESF program? Or, you could clear the tctua when the person signs on - this would seem easier seeing as how you already have a program that fills the tctua at the start of your processing.
Back to top
View user's profile Send private message Visit poster's website
rrv
Beginner


Joined: 01 Nov 2004
Posts: 19
Topics: 6

PostPosted: Tue Jan 18, 2005 2:15 pm    Post subject: Reply with quote

Thanks for your response, warp5 Very Happy !! Your first suggestion definitely seems promising. We can not use the other suggestion for the following reason:

Assume that the first user signs on to CICS and then our application using CESN & XXXN, respectively. This user's profile is now stored in TCTUA, which will be cleared down only when the operator signs off from the application using XXXF.

Under these circumstances, if the user does not sign off from the application but signs off from CICS using CESF, TCTUA data is still retained. When another user signs on to CICS and is allocated the same terminal, he gains access to our application without the necessity of signing in fresh using XXXN. The reason for this is that all transactions associated with our application make use of TCTUA to authenticate individual users. Due to this, user2 will then assume the identity of user1.

The whole problem arises only when user2 DOES NOT sign in to the application and an active session is retained in TCTUA Crying or Very sad . If this user signs again, his/her user profile overwrites whatever already exists in the user area 8) .

Could you explain a bit further on your first suggestion, please? In essence, I would like to know if there is a template code available somewhere related to linking from ABCXYZ to the program CESF usually invokes.

Thanks again for your help.

Regards
Ram
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Wed Jan 19, 2005 3:07 am    Post subject: Reply with quote

I still think you could do it with your original program. When somebody is just coming into CICS or your transaction then the DFHCOMMAREA Length is 0, you could react to that. You could also differ the sign on to a transaction of your own before doing the normal cesn program. I do not have an example of these, but they do work. Also look at the CICS parameters, there is a GMTRAN and GNTRAN that tells what transaction will be done at Good morning or good night.
Back to top
View user's profile Send private message Visit poster's website
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