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
 

 

Find the name of user who is using the dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sakthi16

New User


Joined: 12 May 2008
Posts: 13
Location: India

PostPosted: Wed Jun 04, 2008 11:52 am    Post subject: Find the name of user who is using the dataset
Reply with quote

How can find the name of user who is using the dataset..?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jun 04, 2008 11:54 am    Post subject: Reply to: How can find the name of user who is using the dat
Reply with quote

if trying to edit,view,browse under ispf keep hitting PF1

if just curious "TSO ISRDDN", ENQ and follow the instructions
Back to top
View user's profile Send private message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Wed Jun 04, 2008 12:02 pm    Post subject: Reply to: How can find the name of user who is using the dat
Reply with quote

Some Shops allows 'TSO WHOHAS DATA.SET.NAME'
Back to top
View user's profile Send private message
sakthi16

New User


Joined: 12 May 2008
Posts: 13
Location: India

PostPosted: Wed Jun 04, 2008 12:18 pm    Post subject:
Reply with quote

Hi..

When i try to execute the TSO WHOHAS command and TSO ISRDDN comand, It shows me that its Invalid command....
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jun 04, 2008 12:21 pm    Post subject: Reply to: How can find the name of user who is using the dat
Reply with quote

Quote:
Some Shops allows 'TSO WHOHAS DATA.SET.NAME'

and most of the shops do not have it...
please remember to post only suggestions usable in a vanilla/plain mvs/zos environment

I' ve seen too many times a flood of replies like
use this_program
I cannot find it
look at this library
it' s not there
I m using the FOOBAR producet
I do not have it
sorry I didn' t know
and so on and so on
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Wed Jun 04, 2008 12:44 pm    Post subject:
Reply with quote

Hi,


Press PF1 key twice, it shows user-id who is using the dataset along with the member.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Jun 04, 2008 1:04 pm    Post subject: Reply to: How can find the name of user who is using the dat
Reply with quote

Quote:
When i try to execute the TSO WHOHAS command and TSO ISRDDN comand, It shows me that its Invalid command....


ok for the WHOHAS, it' a user developed tool,
but it' s strange for ISRDDN
if ispf works, also the ISRDDN module should
I just checked, it resides in the "ISP.SISPLOAD"

why not ask Your support icon_biggrin.gif
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Wed Jun 04, 2008 5:42 pm    Post subject: Re: Reply to: How can find the name of user who is using the
Reply with quote

enrico-sorichetti wrote:
Quote:
When i try to execute the TSO WHOHAS command and TSO ISRDDN comand, It shows me that its Invalid command....


ok for the WHOHAS, it' a user developed tool,
but it' s strange for ISRDDN
if ispf works, also the ISRDDN module should
I just checked, it resides in the "ISP.SISPLOAD"

why not ask Your support icon_biggrin.gif


I agree, you should have ISRDDN if you are using ISPF. Unless your shop rules and you edit using plain TSO ;)

Maybe you can try using 'ISRDDN E' as a line command...



Code:

XXXX T - Data Sets Matching TEST1.TEST                             Row 1 of 01

Command ===>                                                  Scroll ===> CSR 
                                                                               
Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
ISRDDN E TEST1.TEST.DATASET                                             XX516F
Back to top
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Jun 04, 2008 6:58 pm    Post subject:
Reply with quote

man oh man,


it is TSO ISRDDN with or without the E.

and not ISRDDN.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 10, 2008 4:26 pm    Post subject:
Reply with quote

Hi Enrico,

My shop does have "WHOHAS", so probably I've never thought about ISRDDN for this purpose, I tried it & it works for me... icon_smile.gif .

My query is: when I find (F 'file name' at command prompt) the file in ISRDDN it does shows it's presence there but how to conclude who is "holding" this file from there; below is the statistics for the file HLQ.FIRST.FILE.MAIN which I got, please suggest.

Code:
Blksz Lrecl RCFM Org  Act DDname   Data Set Name   Actions:Open     SMS ENQWait  Volume   Disposition
27920    80 FB   PS  >    ISP02585 HLQ.FIRST.FILE.MAIN              SMS           MIZAB5   SHR,KEEP   
27920    80 FB   PS  >    ISP02586 HLQ.FIRST.FILE.MAIN Open         SMS           MIZAB5   OLD,KEEP   
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 10, 2008 4:48 pm    Post subject:
Reply with quote

Hi,

Grin..preview showed the "code" prefectly aligned while in above post it's not.

vasanthkumarhb wrote:
Press PF1 key twice, it shows user-id who is using the dataset along with the member.
I'm, perhaps, not being able to recall, where to issue PF1?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jun 10, 2008 4:56 pm    Post subject:
Reply with quote

Hi Dick,
I think what Od311 was trying to say is that in ISPF 3.4 you can enter ISRDDN E next to the dataset name.


Gerry
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jun 10, 2008 5:03 pm    Post subject:
Reply with quote

Hi Anuj,
like Enrico said earlier, when trying to edit and you get a dataset in use, you hit PF1 twice and bingo, you will get a list of who's using the file.


Gerry
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jun 10, 2008 5:21 pm    Post subject:
Reply with quote

Oh..yup, stupid in mine was thinking about the scenario of JOB on "HOLD" ..


Thanks Gerry .. icon_smile.gif
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
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 Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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