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

How to handle idle online transactions in IMS DB/DC


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jun Mendoza

New User


Joined: 11 Apr 2007
Posts: 2
Location: Philippines

PostPosted: Thu Apr 12, 2007 6:32 am
Reply with quote

I need help on programming technique how to handle idle online transactions in IMS DB/DC (mpp), such as terminating transaction when idle for a period of 15mins.

Thanks.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Apr 13, 2007 11:11 am
Reply with quote

Mostly IMS DC program will be coded in such a way that first GN message happens and after that ISRT Message to screen, if no more messages then the program will return control (terminated).
After displaying screen the program is not holding any resources and there is no need to check whether idle for 15 mins and terminate.

Please explain your situation of what you are facing problem.
Back to top
View user's profile Send private message
Jun Mendoza

New User


Joined: 11 Apr 2007
Posts: 2
Location: Philippines

PostPosted: Tue Apr 17, 2007 5:46 pm
Reply with quote

Thanks for your thoughts!

What I mean by "terminate" is that if the terminal is idle for a period of time, the person who will next use that terminal would have to re-login for the security of the previous user's ID.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Apr 17, 2007 5:58 pm
Reply with quote

Hi !

tell Your lazy support people to look at the

IMS transaction manager administration guide in order to implement
what is a system security approach for which no application programming is needed

Quote:

3.2.9.2 Autosignoff (ASOT)


Autosignoff involves deallocating users from an idle session. Users are automatically signed off if no activity occurs within an allotted time. The system programmer sets this time using the ASOT (auto signoff time) parameter in the DFSPByyy member. If users are automatically signed off, they must sign on again in order to use the session.

If more than one allotted time value exists, IMS uses the following criteria to determine which allotted time value to use: (24)

* If the valid ASOT value is specified in the user descriptor, this allotted time value is used.

* If the user descriptor does not specify an allotted time value, the allotted time value from the logon descriptor is used.

* If the logon descriptor does not specify an allotted time value, the time value from the DFSPByyy member is used.

* If the DFSPByyy member does not specify an allotted time value, the default value of 1440 is used.

* If the value on the DFSPByyy member is not valid, the default value of 10 is used.

The Logon exit routine (DFSLGNX0) can override the ASOT and ALOT values during logon. The Signon exit routine (DFSSGNX0) can override the ASOT value during signon, even when the control block structure exists.

The values for the allotted time specified on the ASOT parameter in the DFSPByyy member are:

* ASOT = 0

o The user is signed-off immediately when no output is available to be sent. This specification is normally used with Autologon terminals for signoff immediately when:

+ No IMS input or output message is available

+ After the last available output message completes

o This specification is not recommended for interactive terminals such as 3270's or SLU2. These terminals sessions normally return a PA key to continue following signon. Idle time results in immediate signoff, not waiting for terminal input.

The value on the DFSPByyy member is not used for these device types.

* ASOT = (10 - 1439)

o The user is signed off after the allotted number of minutes has elapsed without terminal activity.

* ASOT = 1440

o The user is never automatically signed off. This is equivalent to not having autosignoff. The system default value for SLU-P, 3600/Finance, and ISC terminals is 1440.

After autosignoff completes, IMS attempts to locate a user that has the same node name that is waiting for autologon. If IMS finds another user with output waiting, the user is allocated to the terminal, and the queues are drained.



regards
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Underscore was not populated to onlin... CICS 1
No new posts Trying to change copybook in online c... CICS 4
No new posts Cobol transactions in SYSVIEW COBOL Programming 0
No new posts Batch call online program, EXCI task ... CICS 3
No new posts Error while trying to access Online I... CA Products 2
Search our Forums:

Back to Top