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

CICS application timeout


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

New User


Joined: 30 Apr 2020
Posts: 4
Location: united states

PostPosted: Thu Apr 30, 2020 7:58 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 30, 2020 8:13 pm
Reply with quote

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
View user's profile Send private message
steven bynum

New User


Joined: 30 Apr 2020
Posts: 4
Location: united states

PostPosted: Thu Apr 30, 2020 8:28 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 30, 2020 8:46 pm
Reply with quote

Have you looked into using CICS(TIMEOUT(0015)) in the RACF user id CICS segment?
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 MacKinney Batch to CICS upgrade causi... CICS 7
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
No new posts Help needed in automation cics transa... CLIST & REXX 1
Search our Forums:

Back to Top