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

how to exit from all sessions using a single command?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
reachcyrus

New User


Joined: 13 Jul 2007
Posts: 24
Location: chennai

PostPosted: Sat Jul 14, 2007 12:45 pm
Reply with quote

Sometimes i used to open 8 sessions concurrently.I need to close all the sessions using one command.Is there any rexx or tso command to do this?

I heard that we can include an option in ispf main menu like

8. Logoff.

try to execute this command in tso or ispf prompt giving =8 or =logoff, so that all the sessions will be closed at a time.(similar to =x)

thanks!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jul 14, 2007 3:24 pm
Reply with quote

Just click the big X at the top right hand of the screen. That usually works for me.
Back to top
View user's profile Send private message
reachcyrus

New User


Joined: 13 Jul 2007
Posts: 24
Location: chennai

PostPosted: Sat Jul 14, 2007 11:08 pm
Reply with quote

cool!!! That doesn't close the session.. what i need is , how to add an user option in ispf main panel...
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Sat Jul 14, 2007 11:37 pm
Reply with quote

The session will timeout and close on its own then. I never logout of my sessions. I just restart the PC at the end of the day. They timeout after 20 minutes of no activity.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sun Jul 15, 2007 12:27 am
Reply with quote

Hello,

Of course if we have one or more files opened, and simply click the X or re-boot the pc, we may make them unavailable until the timeout happens.

Unfortunately, there are still many systems that do not detect that the session "has gone away" and just tie up whatever is in use by the session until the timeout occurs.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Jul 15, 2007 2:37 am
Reply with quote

The big X depends on system setup. By using the X the system connection is severed thus terminating the session(s).

The next time that you connect, the system should log you on again.

I will admit that this is subject to site specific setup, but the last 4 sites I have worked have all been the same.
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Sun Jul 15, 2007 2:52 am
Reply with quote

I don't know if this is site specific as well, but if you backout to a Netview Access main menu and do a logoff # where # is the id of the TSO session, it will close all of your stuff in all 8 sessions in TSO.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Mon Jul 16, 2007 11:56 am
Reply with quote

Hi,

One alternate way can be, PURGE your own ID.
Try this: S.ST/ PRE RACF-ID(on command line)/ Put P(Purge) in front of the job running against your ID, usually this job shows the name of ID owner on right hand side of job statistics.

Yeah, I hope it's
Quote:
logoff #
site-specific, does not work for me.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top