View previous topic :: View next topic
|
Author |
Message |
partha11
New User
Joined: 06 Jun 2005 Posts: 4
|
|
|
|
Hi, Anybody can provide me a JCL that can cancel any TSO Session?
suppose my TSo ID is abc12345 and I want to cancel any ID like abc99999 or abc00001 etc.
i want the jcl to work in any mainframe.
partha |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
Code: |
//CANCELSE JOB 'CANCEL SESION',MSGCLASS=V,TYPRUN=SCAN
// COMMAND 'RO YOURSISTEM,C U=YOURUSERID'
//IEFBR14 EXEC PGM=IEFBR14 |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
That jcl will not work in any mainframe - miny mainfrfames do not allow programers to submit any console commands via jcl.
Mainframes that are properly administered would flush the job and/or alert the security administrators..
If you believe it is proper for you to cancel various users, you need to talk with your system support and security administration people and they will provide you with a solution for your site. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
That jcl will not work in any mainframe - miny mainfrfames do not allow programers to submit any console commands via jcl.
I carry that code to every shop... and, until now, have run in every of them.
Mainframes that are properly administered would flush the job and/or alert the security administrators..
just found this situtation in one shop... so I got the job running from CICS (spool)
If you believe it is proper for you to cancel various users, you need to talk with your system support and security administration people and they will provide you with a solution for your site.
totally agree with that, above all if you're not a systemer.
;) |
|
Back to top |
|
|
|