Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4648
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: 4648
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us