View previous topic :: View next topic |
Author |
Message |
chandra Beginner
Joined: 26 Sep 2003 Posts: 130 Topics: 36
|
Posted: Fri Nov 07, 2003 4:10 am Post subject: How to find which jobs used a Dataset at a given time |
|
|
Hi,
My job is abended because of dataset contention problem.
Want to know how to find all the jobs that were accessing this dataset at that time.
Thanks,
Chandra _________________ Regards,
Chandra |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Nov 07, 2003 6:18 am Post subject: |
|
|
TSO ISRDDN <enter>
ENQ <enter> _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Nov 07, 2003 6:21 am Post subject: |
|
|
chandra,
A simple way to find the who is accessing the dataset is
1. Go to 3.4 and type in the dataset name
2. Try to browse the dataset. It would give you a message that the dataset is in use
3. Now press PF1 twice and you can see all the jobs/tid accessing the dataset
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Nov 07, 2003 6:28 am Post subject: |
|
|
Oh! At THAT time? I thought, you wanted to know which jobs/users are currently using it.
The messages in JESMSGLG might tell you. You get messages of contention there. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
|
Mike Beginner
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Tue Nov 18, 2003 7:31 pm Post subject: |
|
|
Your local freindly performance guys would be able to ascertain this from SMF records. _________________ Regards,
Mike. |
|
Back to top |
|
|
Kautilya Beginner
Joined: 24 Jan 2004 Posts: 8 Topics: 2
|
Posted: Sat Jan 24, 2004 4:15 am Post subject: |
|
|
Use TSO WHOHAS 'datasetname' |
|
Back to top |
|
|
Alain Benveniste Beginner
Joined: 04 May 2003 Posts: 92 Topics: 4 Location: Paris, France
|
Posted: Sat Jan 24, 2004 7:24 am Post subject: |
|
|
Does the D GRS,C doesn't answer to your need ?
If you have RESOLVE the cmd F resolve,ENQ is also a good way and can be trpped by batch.
Alain |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Tue Jan 27, 2004 9:45 am Post subject: |
|
|
Kautilya said:
Quote: | Use TSO WHOHAS 'datasetname' |
Just for info, this is not an IBM supplied TSO command, it is site-specific. For example, we don't have WHOHAS but we do have a command ZWHOHAS which we wrote to perform this function. |
|
Back to top |
|
|
zoobink Beginner
Joined: 01 Feb 2004 Posts: 9 Topics: 1
|
Posted: Mon Feb 02, 2004 5:24 am Post subject: |
|
|
If the dataset is currently allocated then kolusu answer is correct.
If you need to know what had it allocated previosly then you need to interogate type 14 and 15 smf records if it is non vsam file or type 62 if it was vsam. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Tue Feb 03, 2004 6:01 am Post subject: |
|
|
zoobink,
Could you explain how to see these smf records.
Thanks,
Diba. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Feb 03, 2004 6:19 am Post subject: |
|
|
Dibakar,
Please search before posting. Search the board for "smf" and you will find many topics.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|