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

Is there any way to select statistics of the NDM process?


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

New User


Joined: 16 Mar 2009
Posts: 3
Location: chennai

PostPosted: Thu Mar 19, 2009 6:38 pm
Reply with quote

Actually, I tried to NDM a gdg file from production to development in gdg format. To display the statistics of a NDM process, I used the following code,

SELECT STAT WHERE(PNAME=NDMORFL -
EXCLUDE=(WTO) -
STARTT=(TODAY,00:00:00) -
STOPT=(TODAY,24:00:00)) TABLE

This displays the statistics of all the gdgs that are generated on a day. I need to display the statistics of that particular process number only. Is there any way to select statistics of the process number which has been currently submitted?

Thanks
Raajee
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 19, 2009 11:44 pm
Reply with quote

Hello and welcome to the forum,

Suggest you change your start and stop times to the time the process was run.
Back to top
View user's profile Send private message
raajee

New User


Joined: 16 Mar 2009
Posts: 3
Location: chennai

PostPosted: Fri Mar 20, 2009 1:36 pm
Reply with quote

Thanks for the idea...

I want to include this step in my automation tool. Similar to the variable 'today' for the date, whether any veriable we can give for time?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 20, 2009 7:36 pm
Reply with quote

Hello,

Does this statistics process run some time after the transmission(s) are complete?

Even if there was a variable for TIME, i believe it might not contain the value you need. . .
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 20, 2009 7:44 pm
Reply with quote

raajee wrote:
Is there any way to select statistics of the process number which has been currently submitted?


It would be SELECT PNUM instead of PNAME. You'll find the details in the Connect:Direct for z/OS User's Guide.
Back to top
View user's profile Send private message
raajee

New User


Joined: 16 Mar 2009
Posts: 3
Location: chennai

PostPosted: Mon Mar 23, 2009 11:20 am
Reply with quote

Kevin,

Using PNUM, we can select satistics of a particular process... that's right! But we get to know the process number only after submitting the job, and we need to look into the job for the process number... but my requirement is... i need to do NDM and display the statistics of that process in a single JCL itself... is there anything like the process number will be stored in any variable so that we can use it for displaying the statistics?

d.sch,

Yes. We are displaying the statistics after the NDM process is completed. I agreed that even if there is time parameter, we cannot display the statistics...

Like what Kevin said, I think its good idea to use PNUM provided that the process number is stored in any variable similar to 'TODAY' in which current date is stored. If u have any idea on this, please suggest.
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 Dynamically pass table name to a sele... DB2 2
No new posts DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts SELECT from data change table DB2 5
No new posts Select two different counts from SQL... DB2 6
No new posts Select a DB2 value in a specific deci... DB2 4
Search our Forums:

Back to Top