MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Kill non tso id accessing a file.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Magesh_J
Intermediate


Joined: 21 Jun 2014
Posts: 259
Topics: 54

PostPosted: Mon Jun 18, 2018 1:49 pm    Post subject: Kill non tso id accessing a file. Reply with quote

Hi,

We have an external server uses a non tso userid to places a dummy trigger file in mainframes, our ca7 watch for the file and receive a core file from the external server and delete this trigger file.

When trying to delete the file using idcams delete purge, it say the file is being accessed by some user.

when we check TSO WHOHAS DATASETNAME

we could find it is the non tso userid.

For some reason the external server didn't quit or disconnect properly after placing the file.

Is there a way to check if the file is used by the non tso id, if yes then kill the non tso id and run the idcams delete purge job.

Thanks
Magesh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Mon Jun 18, 2018 2:45 pm    Post subject: Reply with quote

Magesh_J,

Check this link which shows several different options of cancelling a TSO ID

http://www.mvsforums.com/helpboards/viewtopic.php?p=33267
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Magesh_J
Intermediate


Joined: 21 Jun 2014
Posts: 259
Topics: 54

PostPosted: Mon Jun 18, 2018 5:09 pm    Post subject: Reply with quote

Hi Kolusu,

Thanks for the response, i already checked that link, but it will work only for TSO ID, but this is a NON TSO ID, it will not display in SDSF to cancel.

Thanks
Magesh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Tue Jun 19, 2018 11:39 am    Post subject: Reply with quote

Magesh_J wrote:
Hi Kolusu,

Thanks for the response, i already checked that link, but it will work only for TSO ID, but this is a NON TSO ID, it will not display in SDSF to cancel.

Thanks
Magesh


You can try cancelling the address space of the non TSO user id.
Code:

CANCEL ASID=asid 


https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.ieag100/cancel.htm
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Magesh_J
Intermediate


Joined: 21 Jun 2014
Posts: 259
Topics: 54

PostPosted: Thu Jun 21, 2018 10:47 am    Post subject: Reply with quote

Thanks Kolusu, but I couldnt find a way to obtain ASID for a non TSO user.

I know we can get ASID from SDSF for TSO users and Jobs.


Thanks
Magesh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Jun 21, 2018 12:40 pm    Post subject: Reply with quote

Magesh_J wrote:
Thanks Kolusu, but I couldnt find a way to obtain ASID for a non TSO user.

I know we can get ASID from SDSF for TSO users and Jobs.


Thanks
Magesh


Magesh_J

If you are authorized to issue the command then you should be able to find the ASID for the non-tso user.

Code:

D A,L

_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group