ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » connect FileOutput to EmailOutput to attach file possible?

Post new topic  Reply to topic
 connect FileOutput to EmailOutput to attach file possible? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Wed Mar 10, 2010 4:56 am    Post subject: connect FileOutput to EmailOutput to attach file possible? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Hi,

I use a FileOutput node to collect a day's record into a file. Now I need to send this file as an email attachment.

Has anyone tried this arrangement?

thanks for sharing.


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
Gaya3
PostPosted: Wed Mar 10, 2010 5:20 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

did you try, what was the result....?

whats the issue that you are facing here?
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
pcelari
PostPosted: Wed Mar 10, 2010 5:46 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

I tried, but only individual records got sent as email, not the while file. so I got hundreds of email each containing one records - virtually flooding my email account.


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 10, 2010 5:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

FileOutput won't produce the full contents of the file written, even after the finish file terminal has fired.

That would eliminate most of the value of the finish file terminal, which is to allow you to not keep the whole dang file in memory or to use something to collect individual records in memory.

Easist solution is to write each record to two files and use FileInput for one of them.
Back to top
View user's profile Send private message
pcelari
PostPosted: Wed Mar 10, 2010 6:28 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Woow! thank you mqJeff for the insight !

yes, a copy of everyday's file is kept in the archive. I can use a FileInput to read and email the file and move it to a different archive location.

Again, thank you soooo much for sharing your insight !


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » connect FileOutput to EmailOutput to attach file possible?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.