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 exit from all sessions using a single command?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: how to exit from all sessions using a single command?
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: 8593
Location: Back in jolly old England

PostPosted: Sat Jul 14, 2007 3:24 pm    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Jul 15, 2007 12:27 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sun Jul 15, 2007 2:37 am    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Mon Jul 16, 2007 11:56 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm


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