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 close multiple sessions at a time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to close multiple sessions at a time
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: 464

PostPosted: Wed Feb 08, 2006 4:21 pm    Post subject: Re: HOW TO CLOSE MULTIPLE SESSION AT A TIME
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    Post subject:
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    Post subject: Re: HOW TO CLOSE MULTIPLE SESSION AT A TIME
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: 309
Location: Vizag / US

PostPosted: Mon Feb 13, 2006 5:16 pm    Post subject: Re: HOW TO CLOSE MULTIPLE SESSION AT A TIME
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Re: How to close multiple sessions at a time
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    Post subject: Re: How to close multiple sessions at a time
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


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