View previous topic :: View next topic
|
Author |
Message |
sgiri Warnings : 1 New User
Joined: 07 Aug 2007 Posts: 20 Location: chennai
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Phil,
I set up 4 PF keys that get me going 123. OK maybe 1234. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Sameer Srivastava Warnings : 1 New User
Joined: 28 Dec 2006 Posts: 4 Location: Chennai
|
|
|
|
Hi,
Simple way to prevent your session from logging off:
Put Paper weight or stick tape, on any of the Arrow key and leave .
Till the time the key is getting pressed, the session won't logoff. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Well, enough discussion after I've started this thread..but only single suggestion & that's again not meeting my requirement..it disappionts me.
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 )
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Good point, but there are sometimes exceptions.
Sorry this was so small - I was reading the screen thru inverted binoculars. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
Gursharan Khalsa
New User
Joined: 04 Sep 2007 Posts: 33 Location: Salinas
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Phrzby Phil wrote: |
I suppose other emulators can do this as well.
|
Yeah true, I use Personal Communication's Key Board map feacture for this.
Quote: |
Can u tell where to write the macro |
Emulators are meant for Windows Environment, so these type of macros shoud be written in editors of this OS..& that ios notepad.
In nutshell..
1. Write macro in a Notepad & paste it to the folder from where your emulator calls the other macro. In Personal communication this path is (usually) Drive name:\Personal Communications\private
OR
2. Record a macro using proper option of Your emulator (from here I cann't tell You what is 'proper option' for you unless You use personal communication.) |
|
Back to top |
|
|
Anurag Singh
New User
Joined: 20 Jan 2008 Posts: 25 Location: India
|
|
|
|
Hi Anuj,
whether we can display a text message while this Macro is running ,
(i.e. When the Macro is running on the screen in Command Line "Refresh is On" should display)
I tried to modify the Macro with Settext("Refresh",02,015) , but it didnt work ,
Have you any idea regarding this , how we can display the message. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Code: |
[home]"Refresh is On"
:loop
wait 3000 sec
[enter]
goto loop |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
I'm not in office just now, didn't check the code. However, it should work.. still I'll check it tomorrow. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Can you please tell me where should i need to type this macro??? |
|
Back to top |
|
|
|