Interesting.  We just had this issue this very (early!) morning.

It turned out that a job had the file allocated, but never actually used it.  
That's why it doesn't show up in any SMF records.

We determined the culprit by looking at jobs that started running before and 
ending after.

But I agree that IDCAMS should show WHO has the job allocated.





>________________________________
> From: Lizette Koehler <stars...@mindspring.com>
>To: IBM-MAIN@LISTSERV.UA.EDU 
>Sent: Friday, March 8, 2013 12:20 PM
>Subject: Enqueue during VSAM REPRO - Who is the culprit
> 
>Esteem Listers -
>
>I have a simple issue, but I am unable to see a solution.  Running z/OS
>V1.12.
>
>I create a new VSAM file.  Then I REPRO current to new.
>
>Sometimes (not always) when this job runs I get
>
>REPRO IDS(NEW.VSAM.FILE)        -                    
>.       ODS(CURRENT.VSAM.FILE) REUSE                            
>.IKJ56225I DATA SET CURRENT.VSAM.FILE ALREADY IN USE, TRY LATER 
>.IKJ56225I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER              
>.IDC0005I NUMBER OF RECORDS PROCESSED WAS ....                        
>.IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12                  
>
>
>There does not appear to be any GRS messages in SYSLOG, and I am not finding
>anything in RMF Mon at this point.
>
>By the time I am notified, the job has already ended.  
>
>I have read the past posts on how difficult this can be to identify the
>culprit.  I am pulling VSAM SMF records and running them through DAF.  As
>well as using ENQ(DETAIL) running RMF Post Processor.  Just looking to see
>if there is anything else.
>
>Any suggestions?  If not, I will put in a Share request that IBM at least
>identify the culprit when the REPRO or other IDCAMS/TSO commands run.
>
>
>Lizette Koehler
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to