View previous topic :: View next topic
|
Author |
Message |
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
PLEASE TELL ME HOW TO CLOSE MULTIPLE SESSIONS AT A TIME |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
suzeet
New User
Joined: 16 May 2005 Posts: 54
|
|
|
|
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 |
|
|
punitsurana
New User
Joined: 17 Jan 2006 Posts: 6
|
|
|
|
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 |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
I think she asking foe one command , rather typing =X on every screen. |
|
Back to top |
|
|
jayant_tibhe
New User
Joined: 25 Feb 2006 Posts: 27 Location: Pune
|
|
|
|
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 |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
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 |
|
|
salehi
New User
Joined: 30 Sep 2006 Posts: 14 Location: Iran
|
|
|
|
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 |
|
|
amitava Warnings : 1 Active User
Joined: 30 Oct 2005 Posts: 186 Location: India
|
|
|
|
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 |
|
|
ogardne1
New User
Joined: 22 Mar 2006 Posts: 1
|
|
|
|
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 |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
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 |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
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 |
|
|
|