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 » IBM MQ API Support » read from q write it to a file

Post new topic  Reply to topic
 read from q write it to a file « View previous topic :: View next topic » 
Author Message
kadurthi
PostPosted: Wed Sep 28, 2005 6:23 am    Post subject: read from q write it to a file Reply with quote

Newbie

Joined: 27 Sep 2005
Posts: 1

hi all
i put a file into a queue using rfhutility now i want to read that file and write it to a file using C programming .
_________________
KumaraSwamy adurthi
IBM WPG Consultant
MiracleSoftwareSystems
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Sep 28, 2005 6:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you need to write C code.

It should be able to do two things.

The first is read messages from a queue.

The second is to write data to a file.

You should have learned how to do the second on about day 2 of your very first C language training.

There are ten thousand examples all over the place for how to do the first.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Wed Sep 28, 2005 6:31 am    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

You might want to take a look at the samples that came bundled with MQ Server. amqsget0.c is pretty basic and could get you started.

Look at IBMs documentation as well.
http://www-306.ibm.com/software/integration/wmq/library/library53.html
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Sep 28, 2005 6:51 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

No need to code, it has already been written for you; check out suppor pack MA01: WebSphere MQ - Q program. Unless, of course, you're doing this as an exercise...
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 » IBM MQ API Support » read from q write it to a file
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.