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

How to find who is using the dataset?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Jun 29, 2007 7:43 pm
Reply with quote

If i get "dataset in use" message. Is it possible to get which user or job is using the datset by a command?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 29, 2007 7:45 pm
Reply with quote

If you're in ISPF, attempting to edit or browse the dataset, you can press HELP twice, and the message will tell you who has the dataset in use.
Back to top
View user's profile Send private message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Jun 29, 2007 7:50 pm
Reply with quote

I could not get clearly... You mean to say i have to press F1 twice before the dataset.
Back to top
View user's profile Send private message
priyamnavada

New User


Joined: 24 Dec 2005
Posts: 52
Location: hyderabad

PostPosted: Fri Jun 29, 2007 7:52 pm
Reply with quote

If we try to browse or edit the datset using by other person, it gives contention error along with the userid i guess..[/img][/list]
Back to top
View user's profile Send private message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Jun 29, 2007 7:56 pm
Reply with quote

Yes you are right... I just want to know which job or user is using that dataset.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 29, 2007 7:57 pm
Reply with quote

Sorry, maybe I misunderstood the question. Where are you seeing this message?
Back to top
View user's profile Send private message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Jun 29, 2007 8:02 pm
Reply with quote

I want to delete that dataset. But i could not as it is showing "dataset in use". I want to know who is using the dataset.if i come to know and if they are my project mates i can ask them to come out of the datset. or if it is a job i can delete the datset once the job ends. Is there any command to know who has opened or using that dataset?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 29, 2007 8:03 pm
Reply with quote

Here are a few similar topics that might be of help:

ibmmainframes.com/viewtopic.php?t=4743
ibmmainframes.com/viewtopic.php?t=18382
ibmmainframes.com/viewtopic.php?t=2590
Back to top
View user's profile Send private message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Jun 29, 2007 8:14 pm
Reply with quote

Thanks for your Info. It worked.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top