I don't know if you are running in a CICS environment but CICS has an EXEC CICS ENQ service. Perhaps you can invoke it (non-blocking) to figure out if the resource is held? Admittedly not the most straightforward approach... https://www.ibm.com/support/knowledgecenter/SSGMCP_5.2.0/com.ibm.cics.ts.applicationprogramming.doc/commands/dfhp4_enq.html
-Joe Joe Gentile z/OS GRS and RSM Development (845)435-2184 (T/L 295-2184) [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
