View previous topic :: View next topic
|
Author |
Message |
steven bynum
New User
Joined: 30 Apr 2020 Posts: 4 Location: united states
|
|
|
|
I have an application on a CICS region written in cobol/DB2. I need the ability to check if a logonid has been for idle 15 in the application. If the logonid has been idle for 15, I want logout the id.
Can anyone assist me accomplishing me in this task? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I need the ability to check if a logonid has been for idle 15 in the application. |
Details can be SO important in IT -- idle for 15 WHAT? Hours? Minutes? Seconds? Milliseconds?
And what does "in the application" mean? It could refer to having sent a screen and not getting any response in 15 (whatevers). But in that case, if the person ends the transaction without starting a new one, their terminal is still in use for that logonid and could be for quite a while WITHOUT being "in the application". Your problem statement allows this to happen.
For the sending a screen and not getting a response, you could start an interval-controlled transaction just before control is returned to CICS after each map send and pass the terminal / logonid so that after 15 (whatever) the interval-controlled transaction can log off the id; if the terminal has activity then your program could cancel the interval-controlled transaction. This process may have region performance implications, though. |
|
Back to top |
|
|
steven bynum
New User
Joined: 30 Apr 2020 Posts: 4 Location: united states
|
|
|
|
I have an application on a CICS region written in cobol/DB2. I need the ability to check if a logonid has been for idle 15 minutes in the application. If the logonid has been idle for 15 minutes, I want logout the id.
Idle means no keystrokes in a 15 minute time frame
or
If that not possible, Idle means 15 minutes between cics tranactions |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Have you looked into using CICS(TIMEOUT(0015)) in the RACF user id CICS segment? |
|
Back to top |
|
|
|