IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Output of NDM stats


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shreya19

New User


Joined: 13 Mar 2014
Posts: 34
Location: USA

PostPosted: Wed Mar 02, 2016 4:35 pm
Reply with quote

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
View user's profile Send private message
Abid Hasan

New User


Joined: 25 Mar 2013
Posts: 88
Location: India

PostPosted: Wed Mar 02, 2016 5:43 pm
Reply with quote

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
View user's profile Send private message
shreya19

New User


Joined: 13 Mar 2014
Posts: 34
Location: USA

PostPosted: Wed Mar 02, 2016 6:31 pm
Reply with quote

No luck. Dataset is still empty
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Mar 02, 2016 6:34 pm
Reply with quote

Hello,
Could you show your complete JCL?

Regards,
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Mar 02, 2016 6:44 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Mar 02, 2016 6:46 pm
Reply with quote

You can choose additional file name options by choosing
CHANGE EXTENDED OPTS: ==> Y

on the SS panel.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
Search our Forums:

Back to Top