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

Find the name of user who is using the dataset


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Jun 04, 2008 11:54 am
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Jun 04, 2008 12:21 pm
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: 275
Location: Bang,iflex

PostPosted: Wed Jun 04, 2008 12:44 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Jun 04, 2008 1:04 pm
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
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
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

Superior Member


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

PostPosted: Tue Jun 10, 2008 4:26 pm
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

Superior Member


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

PostPosted: Tue Jun 10, 2008 4:48 pm
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: 1702
Location: Australia

PostPosted: Tue Jun 10, 2008 4:56 pm
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: 1702
Location: Australia

PostPosted: Tue Jun 10, 2008 5:03 pm
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

Superior Member


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

PostPosted: Tue Jun 10, 2008 5:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Reading Empty Dataset DFSORT/ICETOOL 5
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
Search our Forums:

Back to Top