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 IndexSearch

Search found 20 matches
Author Message
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 6:12 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I am very pleased to say that changing the file stream code to:

fsZipFile.Write(buffer, 0, buffer.Length - 1)

Has resolved the issue.

I have undone the other suggestions made in this ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 5:30 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
Well here's the result of a Binary Compare, between working files downloaded by RFHUtil and the files downloaded by the XMS API.

I use Beyond Compare to perform a "hex compare".

WMQ_ME ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 3:11 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I can only connect via MQ Explorer. Could I execute the command from my machine, or use MQ Explorer to apply the change to the queue?
You do either. You can use runmqsc -c or MQ Explorer to change a ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 2:24 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I'm curious whether you ever tried my suggestion in the first response to this thread - the queue attribute?

Cheers,
Morag

Hi, it's a fair question.

The answer is, that I assumed I'd need to ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 1:50 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
For one particular message on the queue, the queue item in MQ Explorer
states:
- fileName WHATEVER.ZIP_0002_of_0004.SPLIT
- Size = 50,000,176

In the data tab of the message
- Data length 824 ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 1:04 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
New FileStream does not do any data I/O on the file content. All it does is create / open the file.

Close() does an implicit flush to the physical file if there are pending writes.

Flush() aft ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed May 04, 2022 12:09 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
… this still results in files that cannot be reconstituted.
Please explain “reconstituted”. From what? To what?

I have located the author of this utility which we call the split file utilit ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Tue May 03, 2022 6:05 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I also would make sure to flush the output stream before closing it...
Has to do with internal buffering and such...

Sure okay so I'll try this:



Dim fsZip ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Thu Apr 28, 2022 5:25 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
Also I hope this is not Visual Basic but Visual Basic dot Net...
VB MQ plugin is no longer supported... VB.Net is supported...

So, it's definitely VB.NET!


Then look at how the multiple messa ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Thu Apr 28, 2022 3:09 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
… this still results in files that cannot be reconstituted.
Please explain “reconstituted”. From what? To what?

We are sent, for example, three iBytes messages with names such as:
- " ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Thu Apr 28, 2022 2:15 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I'm sorry to report that even with the "?targetClient=1" value in the WMQ_HOST_NAME, and with the redundant line of code removed, this still results in files that cannot be reconstituted.
...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Wed Apr 27, 2022 11:36 pm Subject: Does RfhUtil Write No Headers exist in the XMS API?
Hi,

So to be clear...

Just consuming the message.
Correct, the solution only concerns itself with reading messages sent by others.

I would however question why your are reading the message a ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Tue Apr 26, 2022 5:58 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
I think at this point it would be useful for me to share my code. I've chosen to write it in Visual Basic.

Please note that this code does not, at any time, throw an exception, but the resultant fi ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Tue Apr 26, 2022 5:39 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
Ok, so I have tried a number of options, recommended in this thread, to resolve the issue.

To be clear, we are sent IbytesMessages which are actually zip files; files larger than 47.6MB are divded ...
Topic:Does RfhUtil Write No Headers exist in the XMS API?
psychodelic_drumboy

Replies: 30
Views: 21518

PostForum:IBM MQ API Support Posted: Fri Apr 22, 2022 4:07 am Subject: Does RfhUtil Write No Headers exist in the XMS API?
Define the destination as "queue://QMGR/QNAME?targetClient=1"
The QMGR name is optional.

Thanks fjb_saper. I will try that. The API certainly accepts the targetClient argument ...
Goto page 1, 2  Next Page 1 of 2

Jump to:
Protected by Anti-Spam ACP


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

Copyright MQSeries.net. All rights reserved.