View previous topic :: View next topic
|
Author |
Message |
shreya19
New User
Joined: 13 Mar 2014 Posts: 34 Location: USA
|
|
|
|
how to get the output of below ndmstats into a dataset?
SEL STAT WHERE (STARTT=(3/1/16,00:00:00) FNAME=HLQ*) TYPE=CT TAB
I tried coding dsn= instead of sysout=*, but the results dataset is always empty, the spool shows correct data. |
|
Back to top |
|
|
Abid Hasan
New User
Joined: 25 Mar 2013 Posts: 88 Location: India
|
|
|
|
Hello,
**I donot have NDM on my current site, hence this solution is untested. Though, worth giving a try.
Can you check the RECFM/LRECL that you have specified in the SYSOUT dataset; would also recommend you set RECFM to FBA or refer the NDM manual for the output dataset attributes.
The RECFM=FBA should do the trick though; can you please do a quick test run and confirm.
Hth. |
|
Back to top |
|
|
shreya19
New User
Joined: 13 Mar 2014 Posts: 34 Location: USA
|
|
|
|
No luck. Dataset is still empty |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hello,
Could you show your complete JCL?
Regards, |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
I used to do this via NDM panels.
Go to SS - VIEW STATISTICS FOR A COMPLETED PROCESS
The choose the option P ... PRINT REPORT
Once you get the message "The Select Statistics report has been printed."
The stats would be printed under the TSO ID's SYSPRINT.
Code: |
XX.LOLZ SELECT STATISTICS
CMD ==> P
The Select Statistics report has been printed. 07:07
CMD: S ... SUMMARY TABLE D ... DISPLAY REPORT 03.02.2016
P ... PRINT REPORT 2016.062
PROCESS NUMBERS:
==> ______ ==> ______ ==> ______ ==> ______
PROCESS NAMES:
==> ________ ==> ________ ==> ________ ==> ________
START DATE ==> 03.01.2016 ( MM.DD.YYYY )
START TIME ==> __________ (HH:MM:SSXM)
STOP DATE ==> TODAY_____ ( MM.DD.YYYY )
STOP TIME ==> __________ (HH:MM:SSXM)
CONDITION CODE: ==> __ ________
EXCLUDE ( MEMBER RECS ==> Y WTO RECS ==> Y ¬WTO RECS ==> N )
CHANGE EXTENDED OPTS: ==> Y |
|
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
You can choose additional file name options by choosing
CHANGE EXTENDED OPTS: ==> Y
on the SS panel. |
|
Back to top |
|
|
|