View previous topic :: View next topic
|
Author |
Message |
Raju_Kulkarni
New User
Joined: 22 Apr 2005 Posts: 4
|
|
|
|
Hello everybody,
I am trying find out the way to see who is using the dataset (PS) in TSO/ISPF.
Say for Example, I go to option 3.4 on ISPF priamary option Menu and try to edit dataset MY.DATASET and when I try to edit it, I get a message that "DATASET IN USE' .
can anybody help me how can find out who(User Id) is using the dataset
Thanks,
Raju |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
While getting the error message.....Press PF1 twice....
It'll display the USERID who has opened that.
Regards
Tanden |
|
Back to top |
|
|
Raju_Kulkarni
New User
Joined: 22 Apr 2005 Posts: 4
|
|
|
|
Tanden,
Thanks for your inputs.
The thing is that what you suggested here works fine for a Partitioned dataset (PDS) and doesn't work for PS (sequential Dataset).
I am looking for PS ....anyways thanks a lot for your response.
Can anybody throw some light on this.
Thanks,
Raju |
|
Back to top |
|
|
zatish
New User
Joined: 06 May 2005 Posts: 14
|
|
|
|
Go to Command level in TSO and give the following command
TSODSN 'Dataset Name'
This should help you out |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
Hi raju....
It works fine for me whether it is PS/PDS
Hope you pressed PF1 twice....
Regards
Tanden |
|
Back to top |
|
|
Raju_Kulkarni
New User
Joined: 22 Apr 2005 Posts: 4
|
|
|
|
Zatish,
TSODSN 'Dataset Name' doesn't work for me....can u explain it with little more details please.
It gives me a error message like invalid command...
Thanks,
Raju |
|
Back to top |
|
|
Raju_Kulkarni
New User
Joined: 22 Apr 2005 Posts: 4
|
|
|
|
Tanden,
I rechecked it again ....It worked fine for me this time....I am wondering why it didn't work last time
The messages was saying ..'This option not valid for sequential dataset'
It does serve the purpose for me until I face any other exception
Thank you very much
Raju |
|
Back to top |
|
|
zatish
New User
Joined: 06 May 2005 Posts: 14
|
|
|
|
Probably TSODSN is a Clist |
|
Back to top |
|
|
LG
New User
Joined: 09 May 2005 Posts: 1
|
|
|
|
go to 3.4, type in the dsn name hit enter, beside the dsn type WHOHAS, cant remeber if its one word or 2, that should work |
|
Back to top |
|
|
rainhear
New User
Joined: 24 May 2005 Posts: 2
|
|
|
|
In our shop,we use 'WHOSGOT' beside the dsn instead. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
I'm sure that both WhoHas and TsoDsn are Clist.
To view from ISPF 3.4 who use a dataset Tanden's method is correct pressing twice F1 when message 'Already in use' appair.
To check if file is busy or not thru a Clist or a Rexx you can download from the net WHOHAS utility or TSODSN. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
For intrested user this is a PROC that can display you who is using a dataset through a console command:
Code: |
PROC 1 DSN
OPER
D GRS,RES=(*,&DSN)
END
EXIT |
|
|
Back to top |
|
|
nagasri83
New User
Joined: 20 May 2005 Posts: 15 Location: chennai
|
|
|
|
hi raju,
you can know who is using your dataset by giving 'WHOHAS' in the line command for that particular dataset and you can know who is using it
try it........
thanks, |
|
Back to top |
|
|
sendil
New User
Joined: 30 Jun 2005 Posts: 27
|
|
|
|
TSO WHOHAS 'dataset name(full path)' |
|
Back to top |
|
|
sumanth_toom
New User
Joined: 15 Dec 2006 Posts: 6 Location: ..
|
|
|
|
Use SYSDSN against the PDS or
TSO SYSDSN <file-name> |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|