Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
Output of NDM stats

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
shreya19

New User


Joined: 13 Mar 2014
Posts: 25
Location: USA

PostPosted: Wed Mar 02, 2016 4:35 pm    Post subject: Output of NDM stats
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: 86
Location: India

PostPosted: Wed Mar 02, 2016 5:43 pm    Post subject: Reply to: Output of NDM stats
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: 25
Location: USA

PostPosted: Wed Mar 02, 2016 6:31 pm    Post subject: Reply to: Output of NDM stats
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: 1511
Location: Chennai

PostPosted: Wed Mar 02, 2016 6:34 pm    Post subject:
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: 1511
Location: Chennai

PostPosted: Wed Mar 02, 2016 6:44 pm    Post subject:
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: 1511
Location: Chennai

PostPosted: Wed Mar 02, 2016 6:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us