Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to mail NDM details as soon as file transmitted via NDM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
jothibso

New User


Joined: 03 Sep 2009
Posts: 18
Location: chennai

PostPosted: Thu Sep 03, 2009 1:36 pm    Post subject: how to mail NDM details as soon as file transmitted via NDM
Reply with quote

I need to email the NDM details like Process #, Starting Time, Ending Time, sending and recieving dataset name as soon as i transmit file via NDM if its successful. In case of NDM failure I need to email a failure notice. I need this in test scenario
Back to top
View user's profile Send private message

Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Thu Sep 03, 2009 1:42 pm    Post subject:
Reply with quote

You can dump the NDM Log to a data set and then simply write a step for email the dataset
Back to top
View user's profile Send private message
jothibso

New User


Joined: 03 Sep 2009
Posts: 18
Location: chennai

PostPosted: Thu Sep 03, 2009 2:57 pm    Post subject:
Reply with quote

how to dump the NDM log to a dataset, i will not be having any details like process # at the time of NDMing. to be more specific I need to get this done through batch
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Sep 03, 2009 3:34 pm    Post subject: Reply to: how to mail NDM details as soon as file transmitte
Reply with quote

When you run your DMBATCH step, you'll have to save the process number from the DMPRINT DD. Then, after the process completes, you'll have to run a SELECT STATISTICS report, using the stored process number, and then you can pull the details you need from the report output.

FWIW, in my shop we let our console Automation product do this process.
Back to top
View user's profile Send private message
jothibso

New User


Joined: 03 Sep 2009
Posts: 18
Location: chennai

PostPosted: Thu Sep 03, 2009 3:46 pm    Post subject:
Reply with quote

I need to do this process without manual intervention.....
Once i submit the NDM batch job, if NDM is successful then the NDM details should be mailed automatically.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Sep 03, 2009 8:27 pm    Post subject:
Reply with quote

Hello,

Quote:
FWIW, in my shop we let our console Automation product do this process.
Suggest you reflect on this last bit from Kevin. . .

Then talk with your automation and/or scheduling people to implement.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Sep 03, 2009 9:58 pm    Post subject: Reply to: how to mail NDM details as soon as file transmitte
Reply with quote

If the task was as simple as just sending a notification out when the Process ended with the basic OK/FAIL details, then I might have suggested just adding a step to the the Process to simply send a message. However, nothing at that level can provide the details as specified. A SELECT STATISTICS report HAS to be run, but HOW you handle that is entirely up to you. One alternative that's already been mentioned is to pull the details you want from the LOG file. However, you'll need to talk to the support team for Sterling Commerce in order to obtain the record layout details. Since they provide an optional reporting tool that uses SAS to process the LOG files, they may not be willing to divulge those details.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us