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: 23
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: 65
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: 23
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: 1445
Location: Azeroth

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: 1445
Location: Azeroth

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: 1445
Location: Azeroth

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 Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm
No new posts Run stats processing on zIIP Engine Virendra Shambharkar DB2 9 Fri Oct 14, 2016 10:24 am


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