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

How do we know who locked the dataset?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prakashreddy

New User


Joined: 11 Aug 2005
Posts: 10
Location: Bangalore

PostPosted: Mon Feb 26, 2007 9:44 pm
Reply with quote

Hi all,

hope all doing well.

I have one query!!
When I try to open a dataset in edit mode, it says 'dataset is in use'. So, Can anyone tell me how to check who locked the particular dataset?

Hope I am clear with my question.

Thanks,
Prakash Reddy.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Feb 26, 2007 9:57 pm
Reply with quote

After you got that message and pressed Help, what did that tell you?
Back to top
View user's profile Send private message
Prakashreddy

New User


Joined: 11 Aug 2005
Posts: 10
Location: Bangalore

PostPosted: Tue Feb 27, 2007 5:12 pm
Reply with quote

Thanks Superk for your prompt response. but help only shows that the dataset is locked by another user, please try after some time.

I found the solution: icon_biggrin.gif

TSO command: TSO WHOHAS <dataset name>

Thanks,
Prakash Reddy.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 27, 2007 5:42 pm
Reply with quote

What happens if you press HELP again?

By the way - WHOHAS is not a TSO command.

O.
Back to top
View user's profile Send private message
Prakashreddy

New User


Joined: 11 Aug 2005
Posts: 10
Location: Bangalore

PostPosted: Mon Mar 05, 2007 9:12 pm
Reply with quote

icon_redface.gif it is working fine. But we have press PF1 and type HELP in command line.

Thanks ofer71.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 05, 2007 9:35 pm
Reply with quote

Hello,

If you press F1 two times, you will see who has the file. The first F1 gives the info that the file is locked. The second F1 shows who has it locked. Typing "help" is the same as pressing F1.
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Wed Mar 07, 2007 3:21 pm
Reply with quote

U can also type ISRDDN E in front of that dataset in the 3.4 panel.

this way also it l show which user id is holding the dataset...
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
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
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top