View previous topic :: View next topic
|
Author |
Message |
abhisinghal2002
New User
Joined: 02 Jul 2008 Posts: 12 Location: Delhi
|
|
|
|
Hi All,
I wanted to capture the Process Number of the submit process during the same NDM transmission step. To explain it in more details below are the step i wanted to do.
1) Execute the Process Step using CDRBATCH.
2) This will generate the process Number.
3) After successful transmission or Copy of my input file to output file i wanted to capture the process number that has been assigned transmission. (for this do i have a NDM utility ot something?)
4) now in the next step i wanted to trigger the job (which can be done by DMRTSUB).
So i wanted a solution to execute the point 3) noted above.
Any help in this regards is really appreciated.
Thanks in advance. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
NDM step writes the details of the transfer along with the NDM process number to //SYSPRINT DD I think OR //NDMLOG.(Dont have NDM to test it now)
Assign a file to the corresponding DD statement and parse the process number from the file. |
|
Back to top |
|
|
abhisinghal2002
New User
Joined: 02 Jul 2008 Posts: 12 Location: Delhi
|
|
|
|
Thanks enrico & vasanthz... for the valuable inputs...
Vsanthz... you are correct that i can parse the sysprint DD statement but for that i need to code a separate step to execute the SELECT STATISTICS command with my details...
Actually i wanted to have this all done in the same COPY run task step, which gets submit when i submit my NDM job.
Hope this make myself clear a more... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Dare I ask why you either want or need the process number ? |
|
Back to top |
|
|
abhisinghal2002
New User
Joined: 02 Jul 2008 Posts: 12 Location: Delhi
|
|
|
|
Hi Expat...
My requirement is like if an NDM process fails by any reason, then i wanted to execute a batch job which capture the input dataset name and process number with which it has failed and generates a report for the users.
I know that input dataset name can be captured using an NDM utility, but did not found any symbolic varible which stores the proces number using which i can trace back the process.
Hope this helps!!! |
|
Back to top |
|
|
|