On Mon, 15 Feb 2016 13:50:27 GMT, [email protected] <[email protected]> wrote:
>Im not trying to free and allocate CICS. >I want to identify the current job that has a dataset allocated >when my STC needs it. However, if your concern is for a VSAM file then it sounds it's the share options that are causing an issue. In that case, does it matter who has it _allocated_ or is the real question who has it _open_ in some way that conflicts? All of the documentation I've seen about share options talks about who can have the file open. E.g., https://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.idad400/crso.htm That means that looking at who has the SYSDSN ENQ won't necessarily give you the right answer. For a guaranteed correct answer you need to be using the same mechanism that VSAM would use, whatever that is. It _might_ be the SYSVSAM ENQ another poster mentioned, but I don't know for sure. -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
