5 pts.
 Capture Select Statistics report
I want to run a batch job to create a Select Statistics report and capture the report in a dataset. What commands do I use?

Software/Hardware used:
mainframe ZOS TSO ENVIRONMENT, BATCH JOB
ASKED: March 12, 2011  2:01 AM
UPDATED: April 11, 2011  7:27 PM

Answer Wiki:
SELECT STAT WHERE(PNAME=NDMORFL - EXCLUDE=(WTO) - STARTT=(TODAY,00:00:00) - STOPT=(TODAY,24:00:00)) TABLE This displays the statistics of all the gdgs that are generated on a day. Is this what you are looking for? <a href="http://www.datapointinc.com/baltimore-data-center-maryland-colo">Data Center Manager</a> @ DataPoint
Last Wiki Answer Submitted:  April 11, 2011  7:27 pm  by  Robert2010   465 pts.
All Answer Wiki Contributors:  Robert2010   465 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

It really depends what you want stats for, when you want the stats for and in what format.
Generally the DMPRINT DD is a SYSOUT but it can be a file. The NDM command is SEL STAT WHERE ( then specific parms )

 10 pts.