|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ and MQSTR format |
« View previous topic :: View next topic » |
Author |
Message
|
mqmqmq |
Posted: Wed Jul 02, 2008 1:50 am Post subject: MQ and MQSTR format |
|
|
Novice
Joined: 02 Jul 2008 Posts: 22
|
Hi,
I have Queue manager and all queues in Linux platform. Then I have Windows PC, which has MQ client installed (version 6). I'm using bat script to write to queue. The script looks like (modified):
SET MQSERVER=Channel.XXX/TCP/'Connectionname'
"C:\Program Files\IBM\WebSphere MQ\bin\mqftsndc" -q XX.CC_UU.OUT -t QM1 -f test.xml
This code sends the file to queue OK, but when looked from MQ Explorer the format is MQHRF2. I would like that format to be MQSTR. The queue is only for keeping those files. It doesn't do anything to the messages. Another computer reads the messages from the queue with some script also (that works).
So, in short: transferring messages is OK, but the format is wrong.
Does someone know what and where should I do some configurations in the client side (Windows) to make the file to be sent as MQSTR?
Or is there any other solutions for making this to work?
I'm in very hurry with this, so I would be very grateful for your answers!
Thanks a lot!
BR: V |
|
Back to top |
|
 |
AkankshA |
Posted: Wed Jul 02, 2008 2:04 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
MQHRF2 value signifies the presence of MQRFH2 header in your message....
a value MQSTR means character format..
why do you want teh value to be MQSTR only.... i mean being it mqrfh2 does no harm i suppose .. _________________ Cheers |
|
Back to top |
|
 |
mqmqmq |
Posted: Wed Jul 02, 2008 2:29 am Post subject: |
|
|
Novice
Joined: 02 Jul 2008 Posts: 22
|
It is wanted by the customer, because they have other transfers also in MQSTR format. There is implementation in Linux for sending messages in this MQSTR -format, but that does not work in Windows (I don't know why).
If someone has any ideas about this issue, I would be very happy.
Thanks!
BR: V |
|
Back to top |
|
 |
markt |
Posted: Wed Jul 02, 2008 3:28 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
mqftsnd and mqftrcv work as pairs - one puts a file in a particular format, the other retrieves it. You should not expect to be able to use the send program for arbitrary user processing unless you intend to decode the format, which includes metadata.
There are LOTS of posts here about file processing. I suggest you search. |
|
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
|
|
|
|