View previous topic :: View next topic |
Author |
Message |
rrv Beginner
Joined: 01 Nov 2004 Posts: 19 Topics: 6
|
Posted: Mon Jan 17, 2005 3:47 pm Post subject: Terminal Control Table User Area - TCTUA |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Tue Jan 18, 2005 3:56 am Post subject: |
|
|
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 |
|
 |
rrv Beginner
Joined: 01 Nov 2004 Posts: 19 Topics: 6
|
Posted: Tue Jan 18, 2005 2:15 pm Post subject: |
|
|
Thanks for your response, warp5 !! 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 . 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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Wed Jan 19, 2005 3:07 am Post subject: |
|
|
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 |
|
 |
|
|