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

how to mail NDM details as soon as file transmitted via NDM


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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
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
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

Global Moderator


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

PostPosted: Thu Sep 03, 2009 3:34 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Sep 03, 2009 8:27 pm
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

Global Moderator


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

PostPosted: Thu Sep 03, 2009 9:58 pm
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top