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 » General IBM MQ Support » MQ and MQSTR format

Post new topic  Reply to topic
 MQ and MQSTR format « View previous topic :: View next topic » 
Author Message
mqmqmq
PostPosted: Wed Jul 02, 2008 1:50 am    Post subject: MQ and MQSTR format Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Wed Jul 02, 2008 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mqmqmq
PostPosted: Wed Jul 02, 2008 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
markt
PostPosted: Wed Jul 02, 2008 3:28 am    Post subject: Reply with quote

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
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 » General IBM MQ Support » MQ and MQSTR format
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.