ENQDIAG - Individual Download
=============================

SOURCE
------
This source is taken directly from the supplied zDIAG Stable 3.2 self-contained package.
The REXX member retains CRLF line endings and is intended for text/ASCII transfer to z/OS.

PURPOSE
-------
Trace ENQ dependency chains, identify terminal holders, measure wait time, and enrich likely blockers with active-address-space, WTOR and JES evidence.

STANDALONE USE
--------------
Place ENQDIAG in a site-approved SYSPROC or SYSEXEC library and invoke it from TSO/E.
Use TSO ENQDIAG HELP for the built-in usage/reference text.
Use TSO ENQDIAG SAMPLE to create the utility's built-in synthetic sample report.

zDIAG SUITE USE
---------------
For the normal zDIAG panel/batch workflow, use the full self-contained package instead of installing
individual utilities into the foreground SYSPROC/SYSEXEC concatenation. In suite mode the diagnostic
members are stored in <SITEHLQ>.EXEC and the ZDIAG launcher submits them through ZDBATCH.

INVOCATION EXAMPLES
-------------------
  TSO ENQDIAG
  TSO ENQDIAG JOB CICDLDF
  TSO ENQDIAG JOB CICDLDF SYS MVSD
  TSO ENQDIAG DSN CICDL.DLDF.STARTUP
  TSO ENQDIAG SAMPLE
  TSO ENQDIAG HELP

REQUIREMENTS / AUTHORIZATION
----------------------------
The utility is read-only, but the evidence it can collect depends on the TSO user's SDSF, SAF,
console-command and other z/OS authorities required by that utility. Review the built-in HELP text and
the full zDIAG README/INSTALL files before production use.

RETURN CODE POLICY
------------------
RC 00 means a usable diagnostic report was produced. A HIGH/CRITICAL finding does not by itself make
the utility return non-zero. Non-zero RCs represent invocation, collection or execution/report failure.
