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
 

 

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: 6966
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: 6966
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


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