If FTP does an ENQ,RET=TEST, determines that the dataset is not available and 
terminates the transfer, there is no contention to display.
You can do a D GRS,RES=(*,dsname) to see who is holding the dataset at that 
moment.

Kees.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Elardus Engelbrecht
Sent: Wednesday, August 28, 2013 10:54
To: [email protected]
Subject: Re: Dataset hold & lock

Chokalingam Thangavelu wrote:

>Is there a way to find out which jobs & userids was Holding/Locking the 
>dataset?

If *during* the event, you can try renaming a dataset and then use PF01 in TSO 
/ ISPF or try on console this command:
D GRS,C to see any contention.

Or have your automation product monitor IEF099I so it can issue D GRS,C 
immediately.

>One of our FTP job failed in July and need to find out the root cause of the 
>failure. We have not seen any network failure, so need to find out anyone was 
>holding the dataset during that time.

For *after* the event, you can use DAF (freebie), RACF Report Writer or 
IRRADU00 to do your audits.

Did you see any error message(s) in your FTP job? Please post it if you can.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************
                        


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to