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.
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.