View previous topic :: View next topic
|
Author |
Message |
raajee
New User
Joined: 16 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Suggest you change your start and stop times to the time the process was run. |
|
Back to top |
|
|
raajee
New User
Joined: 16 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
raajee
New User
Joined: 16 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
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 |
|
|
|