Hi Shai
Now that you Know that ENDEVOR Databases are primarily VSAM Files (Master Control Files / Package Master File) and information in accessed through the ENDEVOR utilities, what you think in term of "SQL Query" in Endevor it is more like a "SCL" Software Control Language. It is used to execute actions and / or extract information
II you wish to explore and deepen in the generation of information, here are two links to "SCL Reference Guide": SCL Reference Guide Version 16.0.00
and "Reports Guides": Reports Guide Version 16.0.00
If you take a look to the utility reference by Thomas Tim, there is a sentence of SCL "to run". You can do many things knowing the SCL details and Endevor utilities.
Good luck
Efren