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

How to close multiple sessions at a time


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Wed Feb 08, 2006 3:53 pm
Reply with quote

PLEASE TELL ME HOW TO CLOSE MULTIPLE SESSIONS AT A TIME
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Feb 08, 2006 4:21 pm
Reply with quote

Hi Veena,

Quote:
PLEASE TELL ME HOW TO CLOSE MULTIPLE SESSIONS AT A TIME


Is it possible to close multiple session at a time? I believe its not possible.


Regards
Rupesh
Back to top
View user's profile Send private message
suzeet

New User


Joined: 16 May 2005
Posts: 54

PostPosted: Wed Feb 08, 2006 5:47 pm
Reply with quote

Hi veena_nagesh2002

are you asking about the ISPF menu or Sessions? If ISPF menu then you can write it like =X;=X;=X etc depending upon the no of screens you have opened
Back to top
View user's profile Send private message
punitsurana

New User


Joined: 17 Jan 2006
Posts: 6

PostPosted: Mon Feb 13, 2006 1:59 pm
Reply with quote

If you wish to close multiple sessions, type 'I' in front of each of them and press enter. IF you are talking abt closing multiple screens within a session, type =X on command line.
Hope this helps.

CHEERS
Punit
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Mon Feb 13, 2006 5:16 pm
Reply with quote

I think she asking foe one command , rather typing =X on every screen.
Back to top
View user's profile Send private message
jayant_tibhe

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Sat Feb 25, 2006 7:09 am
Reply with quote

Hi Friends,

Its not possible to closeMultiple sessions at a time.
Because at a time we are able to enter through only one Session on one window. If you want to open other session in the same window,the previous will be Idle.(Remember F9 will not work) You have to come out of one by one.
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Sep 20, 2006 4:46 am
Reply with quote

Hi

I haven't seen any command which can do that...you need to come out of them one by one or use I infront of the menu you get ...some may be getting it from TPX and some from MAI...so what ever you are using...C also work for MAI menu and I work for both...

CORRECT ME IF I AM WRONG.

THANKS..
Back to top
View user's profile Send private message
salehi

New User


Joined: 30 Sep 2006
Posts: 14
Location: Iran

PostPosted: Tue Oct 03, 2006 4:31 pm
Reply with quote

you can define too many cancel command on a keys using
keys option in ISPF ,seprating by comma and then with pressing on key u can submit all that commands ,
but
i don 't know one command to do that !!!!
i should check the cancel command ...[/b]
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Oct 03, 2006 5:37 pm
Reply with quote

Hey guys & gals,
You can close multiple sessions at a time just by entering a command at command line. It's TSO OPSCMD C U=UserID. This will cancel your sessions and logoff from your account.
But this command depends upon the system also. You may find some of you cann't run the command as your shop does provide the facility.[/i]
Back to top
View user's profile Send private message
ogardne1

New User


Joined: 22 Mar 2006
Posts: 1

PostPosted: Mon Oct 09, 2006 11:38 am
Reply with quote

Hi Veena,

you can also use the MACRO facility of your emulation software to do repetitive tasks. Here's one for IBM's PCOMM, which just sends a lot of PF3 keys:

[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=
[PCOMM SCRIPT SOURCE]
OPTION EXPLICIT
autECLSession.SetConnectionByName(ThisSessionName)

REM This line calls the macro subroutine
subSub1_

sub subSub1_()

REM shut down all screens

autECLSession.autECLOIA.WaitForAppAvailable
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"
autECLSession.autECLPS.SendKeys "[pf3]"

end sub

Works fine, and is pretty fast.
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Oct 11, 2006 9:58 pm
Reply with quote

Quote:
Hey guys & gals,
You can close multiple sessions at a time just by entering a command at command line. It's TSO OPSCMD C U=UserID. This will cancel your sessions and logoff from your account.
But this command depends upon the system also. You may find some of you cann't run the command as your shop does provide the facility.[/i]
_________________
Regards,

Amitava Chowdhury


The command TSO OPSCMD C U=USERID or TSO OPER C u=USERId is basically to cancel the user Id...Its not for throwing you out from multiple session. These commands are shop specific so there are chances that it may not work on you system.....Once you use these command you have to login back...

Thanks


CORRECT ME IF I AM WORNG.....
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Oct 11, 2006 10:01 pm
Reply with quote

One more thing to add with OPER command...You can cancel your Id from sessions using this command if you know the applid(application Id) of the session. The command will be

TSO OPER C U=User Id, S= Session(Applid of session)
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top