|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
0 kb file |
« View previous topic :: View next topic » |
Author |
Message
|
sbk |
Posted: Wed Oct 30, 2013 5:59 am Post subject: 0 kb file |
|
|
Novice
Joined: 25 Jan 2012 Posts: 22
|
Hi friends,
Here I have an issue for MQ folks
We are writing data from queue to file by using fileTOqueue uility written for our project. There are some cases like 0kb files are creating in the process of files creation. But the user is worrying about that as we are not missing any of data. We should not create 0 kb files. Please suggest me what is the possible reasons and solutions.
Suggesstions will be appreciated.
Regards
SBK. |
|
Back to top |
|
 |
exerk |
Posted: Wed Oct 30, 2013 6:40 am Post subject: Re: 0 kb file |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
sbk wrote: |
...Here I have an issue for MQ folks... |
The issue is not with WMQ...
sbk wrote: |
...There are some cases like 0kb files are creating in the process of files creation. But the user is worrying about that as we are not missing any of data. We should not create 0 kb files... |
Then don't create 0KB-length files...
sbk wrote: |
...Please suggest me what is the possible reasons and solutions... |
The reason will be because there is a flaw in whatever application is creating the files and the solution is to fix that flaw...
sbk wrote: |
...Suggestions will be appreciated... |
Why did you create an in-house 'fileTOqueue' mechanism when there are already solutions out there, including free ones? Why not use a solution such as Spazio*, Capitalware's Universal File Mover** or WebSphere MQ Managed File Transfer**?
* Open Source
** Licensed _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 30, 2013 6:42 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Windows? UNIX?
So, your home-grown utility MQGETs a message from an MQ queue, then writes the content of the message to the filesystem.
You have personally viewed/edited the file in the filesystem? The resulting file actually contains valid data? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
sbk |
Posted: Wed Oct 30, 2013 9:14 am Post subject: |
|
|
Novice
Joined: 25 Jan 2012 Posts: 22
|
Machine is Windows. We didnt changed the file system. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 30, 2013 10:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sbk wrote: |
Machine is Windows. We didnt changed the file system. |
If you have an application which is creating these files, then you need to investigiate under why circumstances it produces these 0kb files. It's a straightfoward bug hunt and nothing to do with WMQ as (presumably) the logic of this application would be the same if the inbound data was arriving over HTTP instead of WMQ. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|