Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How do we know who locked the dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How do we know who locked the dataset?
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

Moderator Team Head


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

PostPosted: Mon Feb 26, 2007 9:57 pm    Post subject: Re: How do we know who locked the dataset?
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    Post subject: Re: How do we know who locked the dataset?
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: 2360
Location: Israel

PostPosted: Tue Feb 27, 2007 5:42 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Mar 05, 2007 9:35 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us