Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to handle idle online transactions in IMS DB/DC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: How to handle idle online transactions in IMS DB/DC
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10234
Location: italy

PostPosted: Tue Apr 17, 2007 5:58 pm    Post subject: Re: How to handle idle online transactions in IMS DB/DC
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts 24x7 online logs using DSN1LOGP (simi... SRICOBSAS DB2 3 Thu Aug 18, 2016 11:52 am
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us