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

Capture process Number during NDM transmission


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhisinghal2002

New User


Joined: 02 Jul 2008
Posts: 12
Location: Delhi

PostPosted: Tue Jan 24, 2012 1:28 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 24, 2012 1:34 pm
Reply with quote

after the acquisition of Sterling Commerce, IBM applied the Manuals availability policy also to the Sterling Commerce line of Products
the documentation is available here
www-947.ibm.com/support/entry/portal/Documentation/Software/Other_Software/Sterling_Connect:Direct
or ...
www-01.ibm.com/support/docview.wss?uid=swg27023598
good reading icon_cool.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Jan 24, 2012 4:30 pm
Reply with quote

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
View user's profile Send private message
abhisinghal2002

New User


Joined: 02 Jul 2008
Posts: 12
Location: Delhi

PostPosted: Thu Jan 26, 2012 3:42 pm
Reply with quote

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... icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jan 26, 2012 7:26 pm
Reply with quote

Dare I ask why you either want or need the process number ?
Back to top
View user's profile Send private message
abhisinghal2002

New User


Joined: 02 Jul 2008
Posts: 12
Location: Delhi

PostPosted: Fri Jan 27, 2012 11:48 am
Reply with quote

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 icon_sad.gif using which i can trace back the process.

Hope this helps!!!
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top