I posted the following on ISPF/ND Feb 7th. Thought I might have better luck here.
I am trying to use "QUERYENQ TABLE(QEW) WAIT XSYS LIMIT(0)" and then "TBSARG QEW NAMECOND(ZENJOB,EQ)" "TBSCAN QEW ROWID(ROWFND) POSITION(CRP)" to see if my (customers) job is waiting then pick up the ZENQNAME/ZENRNAME and "QUERYENQ TABLE(QEQR) QNAME(MAJOR) RNAME(MINOR) XSYS LIMIT(0)" to see WHO has em. Trouble is the docs are a little shakey (or my thinking is a little wishful). WAIT indicates that all waiting ENQs are returned. This shows all ENQ contention known to the local system. RNAME and QNAME are ignored for WAIT. Hmmm "LOCAL" But XSYS XSYS indicates that the XSYS=YES parameter should be used on the GQSCAN macro......../snip/ It shows me only LOCAL when I use XSYS with WAIT, but I tried MAJOR = 'SYSDSN' MINOR = '*' "QUERYENQ TABLE(QEQR) QNAME(MAJOR) RNAME(MINOR) XSYS LIMIT(0)" and got 200K+ entries from SYSA to SYSJ. This I do NOT even THINK about giving out to 600 or so application programming TSO accounts. Hints anyone? Or is that "just the way it works"? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

