This article explains how to run DQBATCH EXPORT query, but not the query execution report.
On panel DQEN0 , Batch online submit panel , place X in Suppress Report for a basic query. Do not select any other option and select EXPORT to a sequential file.
--------------------------------------------------------------------------DQEN0
DATAQUERY: BATCH EXECUTION
-------------------------------------------------------------------------------
Enter name of query to submit: ACTIVE-QUERY
Select the type of execution: X Immediate
_ Defer execution until time __ : __
Enter the name of the JCL member to use: $$DQJCL
Enter nonblank to use JCL for deferred: _
Select the report type:
Detail and totals _ When/do column functions only
_ Detail only (no totals) _ No detail (totals and when/do)
_ Totals only (summary) x Suppress report
To export print data to a sequential file, select output record type:
_ Variable comma separated x Fixed length record
For variable, enter name of output set _______________
For variable, select output type: _ Detail
_ Totals For documentation , see (DQEN0) Batch Execution.