Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Knowing the user of a dataset in use.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bibek24

New User


Joined: 14 Aug 2007
Posts: 35
Location: Hyderabad

PostPosted: Tue Mar 25, 2008 12:52 pm    Post subject: Knowing the user of a dataset in use.
Reply with quote

Is there any command to know the user of a dataset that is currently being used.
Back to top
View user's profile Send private message

acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Mar 25, 2008 1:30 pm    Post subject:
Reply with quote

try this:

Code:
TSO ISRDDN ENQ yourfilehere
Back to top
View user's profile Send private message
Subash1988

New User


Joined: 10 Mar 2008
Posts: 10
Location: Chennai

PostPosted: Tue Mar 25, 2008 2:58 pm    Post subject:
Reply with quote

Hi

Give 'whoowns' or 'whosgot' in the left side of the dataset name. or press F1 twice if it shows dataset in use
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Tue Mar 25, 2008 3:04 pm    Post subject:
Reply with quote

'whoowns' or 'whosgot' are site specific and probably invoke isrddn.

'left side of the DSN'? If you are going to give info, at least provide the complete story. Apparently you mean that you can enter the rexx/clist command 'whoowns/whosgot' as a line command in the ispf 3.4 screen.

PF1 twice when 'dataset in use' is mvs.

nice thing about <TSO ISRDDN ENQ dsn> is that you can enter this on any command line, without invoking the 3.4 screen.
Back to top
View user's profile Send private message
Subash1988

New User


Joined: 10 Mar 2008
Posts: 10
Location: Chennai

PostPosted: Tue Mar 25, 2008 3:27 pm    Post subject:
Reply with quote

Hi

really u r a senior member!

thanks 4 correcting my mistake Mr. dbzTHEdinosauer,
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Tue Mar 25, 2008 4:19 pm    Post subject:
Reply with quote

Quote:

really u r a senior member!


that beats the hell out of 'picky old fart!'.
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Tue Mar 25, 2008 9:49 pm    Post subject:
Reply with quote

Here is one jes command which tells you who is using the dataset

d grs,res=(*,dataset name)

Try this...
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Call DB2 user defined function from C... Ziko13 DB2 5 Thu Mar 14, 2019 4:46 pm
No new posts Unpack 'PACK ON' dataset via job? Auryn TSO/ISPF 2 Thu Mar 14, 2019 4:09 pm
No new posts how to copy a sequential dataset by u... javen777 JCL & VSAM 3 Thu Feb 21, 2019 11:37 pm
No new posts How to substring a new dataset name f... javen777 JCL & VSAM 6 Tue Feb 19, 2019 12:00 pm
No new posts How to delete a VSAM dataset from ins... Mike.Fulton JCL & VSAM 6 Fri Feb 15, 2019 5:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us