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
 

 

Keep mainframe session from not being logged off
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sgiri
Warnings : 1

New User


Joined: 07 Aug 2007
Posts: 20
Location: chennai

PostPosted: Wed Aug 08, 2007 6:42 pm    Post subject: Keep mainframe session from not being logged off
Reply with quote

hi all,

Is there a way to keep my mainframe session from not being logged off.
I know few of my friends use certain tso command. It is not working on my system . Pls help !
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Aug 08, 2007 8:24 pm    Post subject: Re: Keep my mainframe session from not being logged off
Reply with quote

sgiri wrote:
hi all,

Is there a way to keep my mainframe session from not being logged off.
I know few of my friends use certain tso command. It is not working on my system . Pls help !


That would be system dependent. Stay busy and you won't be logged off as inactive.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 09, 2007 12:13 am    Post subject:
Reply with quote

Hello,

Is there some reason you should remain logged on when you are not using the system?

If there is a valid reason, have your manager talk with the security or support people and have your timeout changed. Most places do not feel there is a compelling reason to allow an idle session to "just sit there" indefinitely.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 09, 2007 12:16 am    Post subject:
Reply with quote

it is sorta like giving security to people who don't realize they need the protection.

if your session always stays active, that mean someone else can use your session when you leave your desk.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Aug 09, 2007 2:43 am    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
if your session always stays active, that mean someone else can use your session when you leave your desk.
That's what the three finger salute is for...
Those <blank> security people.......
I generally go to the SDSF ST screen and enter &120, which redisplays the screen every 120 seconds.....it taks a couple of PA1s or PA2s (mine is two shift-escapes) to stop it.....
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Nov 06, 2007 9:41 pm    Post subject:
Reply with quote

Hi,

I've got a similar requirement but bit strange. One of the client is asking, 'why the session is expired after these many seconds/minute, where it's defined, justify'...grin..!

Can anyone here please direct me to find some solutions, I've searched the Forum but in vain, may be I didn't use right 'key-words'.


CG,

I tried your suggestion (&120), but didn't get any result. I write '&120' on the 'command prompt' & pressed enter, is it what you have suggested or I've done something wrong, please suggest.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Wed Nov 07, 2007 12:06 am    Post subject:
Reply with quote

I think it is proper to want to keep TSO from logging you off.

I may be positioned on up to 8 TSO screens, and if I'm called away (physically or to another application, or just on the phone) on another task, repositioning myself will be very time consuming.

By preventing the logoff using the &120 (refresh every 120 seconds) on the ST screen, I hold my place.

I can lock my terminal for security reasons via ctl-alt-del, so that's taken care of.

If this hogs resources others need at my installation, then I do have a responsibility not to do this when unnecessary, but that should go without saying in any professional organization.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Nov 07, 2007 12:30 am    Post subject:
Reply with quote

Anuj D. wrote:
I tried your suggestion (&120), but didn't get any result. I write '&120' on the 'command prompt' & pressed enter, is it what you have suggested or I've done something wrong, please suggest.
I don't know, when I type it...
Code:
  Display  Filter  View  Print  Options
---------------------------------------
SDSF OUTPUT DISPLAY CICSPNAT STC08132 
COMMAND INPUT ===> &120                   
and hit enter, this is what I see...
Code:
COMMAND INPUT ===> **** AUTO UPDATE - 120 SECONDS ****     
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Nov 07, 2007 12:42 am    Post subject:
Reply with quote

Hello,

I believe that the requirement to be in sdsf has not been completely understood. It won't work from just anywhere in tso/ispf.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Nov 12, 2007 12:41 am    Post subject:
Reply with quote

Hi Phil,

I set up 4 PF keys that get me going 123. OK maybe 1234.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Mon Nov 12, 2007 8:13 pm    Post subject:
Reply with quote

I'm not sure what you mean Jack.

I set up Shift-F6 = &123, but I think you're talking about something else.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Nov 13, 2007 2:54 am    Post subject:
Reply with quote

Sorry Phil,

Just a joke that bombed.

Here's the PF keys I use:
Code:
 *********************************************************************   
***************  USE TO FIRE UP 8 ISPF WINDOWS AFTER    *************   
***************  ISPF STARTUP                           *************   
*********************************************************************
Prep - on cmd line enter "keylist off", then enter 0
       Click on "Identifier"; press enter; select 3 (screen name)
       Then enter "keys" on cmd line and cut & paste lines below into
       KEYS slots. Use keys 13 thru 16.  C&P the next 2 into PF17&18
*********************************************************************     
SCRNAME SDSF1 PERM;SPLIT NEW;SCRNAME COMPILE PERM                       
SPLIT NEW;SCRNAME JOBJCL PERM;SPLIT NEW;SCRNAME PGMSRC PERM;           
SPLIT NEW;SCRNAME CPYBKS PERM;SPLIT NEW;SCRNAME MISC1 PERM             
SPLIT NEW;SCRNAME MISC2 PERM;SPLIT NEW;SCRNAME MISC3 PERM;;;           
*********************************************************************   
***************        USE TO FIRE UP A NEW WINDOW      *************   
*********************************************************************   
SPLIT NEW;SCRNAME                                                       
*********************************************************************   
***************      USE TO LIST ALL ACTIVE WINDOWS     *************   
*********************************************************************   
SWAP LIST

When you've got the keys set up exit SPF gracefully (logoff, etc.). Then come back in and hit PF keys 13 thru 16.
Back to top
View user's profile Send private message
Sameer Srivastava
Warnings : 1

New User


Joined: 28 Dec 2006
Posts: 4
Location: Chennai

PostPosted: Tue Nov 13, 2007 9:44 pm    Post subject:
Reply with quote

Hi,

Simple way to prevent your session from logging off:

Put Paper weight or stick tape, on any of the Arrow key and leave icon_lol.gif .

Till the time the key is getting pressed, the session won't logoff.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Nov 20, 2007 2:07 pm    Post subject:
Reply with quote

Well, enough discussion after I've started this thread..but only single suggestion & that's again not meeting my requirement..it disappionts me. icon_cry.gif

Quote:
"the session is expired after these many seconds/minute, where it's defined, justify'...


By the way instead of this crap
Quote:
Put Paper weight or stick tape, on any of the Arrow key and leave .

There are some better solutions to this. Not to allow the session being logged off, I use following macro under ISPF:
Code:
:loop
wait 3000 sec
[enter]
goto loop


This is a simple macro written by me (you know copy-righted mateial icon_smile.gif )
it makes the session feel as if "enter" key is pressed after every 3000 seconds & this'll save your tapes as well.

Bottom line is this, I know how to prevent my session being logged-off but where in the system it's written that session should be logged-off if left idle for so many seconds?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Nov 20, 2007 2:17 pm    Post subject: Reply to: Keep mainframe session from not being logged off
Reply with quote

STRONG DISAGREEMENT ON THE WHOLE THREAD...

IF A SITE HAS THE POLICY OF LOGGING OFF A TERMINAL SESSION AFTER AN INACTIVITY PERIOD
THE ETHICS WOULD DICTATE NOT TO GIVE IN A FORUM ANY SUGGESTIONS ON HOW TO VIOLATE THE RULES


AND ... YES I AM SHOUTING
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Tue Nov 20, 2007 7:07 pm    Post subject:
Reply with quote

Good point, but there are sometimes exceptions.

Sorry this was so small - I was reading the screen thru inverted binoculars.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Nov 20, 2007 7:23 pm    Post subject: Reply to: Keep mainframe session from not being logged off
Reply with quote

the large characters were a joke...

sometimes I am puzzled by the carelessness of people posting suggestions..

a forced logoff due to inactivity,
apart performance/usability issues - enqueues on datasets for example,
is normally a security related issue...
leaving a terminal unattended with sensitive data was/is considered
in many places I knew a breach of security practices
and a could be a lawful reason for termination,

That' s why I will not stop recommending, when answering,
not only to consider the technical issues, but also the organizational ones
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Tue Nov 20, 2007 9:40 pm    Post subject:
Reply with quote

As I mentioned earlier, on a Windows session, even though my m/f screen may be open, I've locked my computer screen via ctl-alt-del-LOCK COMPUTER - so that is a non-issue.

I do agree in general with your position however.

The small font was also a joke!
Back to top
View user's profile Send private message
Gursharan Khalsa

New User


Joined: 04 Sep 2007
Posts: 33
Location: Salinas

PostPosted: Fri Jan 25, 2008 3:52 pm    Post subject: preventing session from logging off
Reply with quote

Hi All,
&120 thing works,,, but i m not able to get out of this.When i press Shift+Escape twice i again get back to screen "**** AUTO UPDATE - 120 SECONDS **** .Can anyone tell me how to get out of it???

Thanx

Anuj,

Can u tell where to write the macro :loop
wait 3000 sec
[enter]
goto loop

Thanx
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Fri Jan 25, 2008 7:01 pm    Post subject:
Reply with quote

Try setting one of your keys to the ATTN setting. I do this via the EXTRA! emulator - settings - keyboard maps. I suppose other emulators can do this as well.

I hit ATTN to jump out to a sessions menu, then ATTN again to jump back into my ISPF session, now unlocked.
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 -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am
No new posts Cards mainframe developer requirement... capricorn Mainframe Jobs 0 Sun Sep 11, 2016 9:57 am


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