View previous topic :: View next topic
|
Author |
Message |
ram5er
New User
Joined: 14 Jul 2006 Posts: 14 Location: Dallas, Texas
|
|
|
|
How do you to pull NDM statistics (ex. i/o byte count, vtam counts) using DMBATCH. Need statics for a full year on all transmissions. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
If you have CONNECT:Direct IUI enabled.
Choose SS for select statistics then at next screen you can specify process number and it would give you output statistics for a NDM transmission.
In this screen there I believe you can also specify a starting date & end date as a search criteria. |
|
Back to top |
|
|
ram5er
New User
Joined: 14 Jul 2006 Posts: 14 Location: Dallas, Texas
|
|
|
|
Understand this is a way to pull info online but I am trying to pull the statistics in a batch program. Need to generate reports from a file of these statistics. |
|
Back to top |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
You still use the SELECT STATISTICS command in your DMBATCH job. For example:
Code: |
//*
//STEP1 EXEC PGM=DMBATCH,PARM='YYSLYNN'
//DMMSGFIL DD ...NDM.MSG,DISP=SHR
//DMNETMAP DD ...NDM.NETMAP,DISP=SHR
//DMPUBLIB DD ...PROCESS.LIB,DISP=SHR
//DMPRINT DD SYSOUT=*
//NDMCMDS DD SYSOUT=*
//SYSIN DD *
SIGNON ESF=YES
SEL STAT WHERE (STARTT=(12/20/06,00:00:00)) TYPE=CT TAB
SIGNOFF
//*
|
Check the CONNECT:Direct for OS/390 User's Guide for the details of the SELECT STATISTICS Command. |
|
Back to top |
|
|
ram5er
New User
Joined: 14 Jul 2006 Posts: 14 Location: Dallas, Texas
|
|
|
|
this works great!!!
However, instead of using "TAB" I am writing using "FILE". Some fields are binary.
SEL STAT WHERE (STARTT=(12/20/06,00:00:00)) TYPE=CT TAB
Do happen to know the layout of the CT transactions?
thanks for you help. |
|
Back to top |
|
|
|