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 Discussion » Newbie Questions!

Post new topic  Reply to topic
 Newbie Questions! « View previous topic :: View next topic » 
Author Message
Neha
PostPosted: Tue Oct 31, 2006 7:35 am    Post subject: Newbie Questions! Reply with quote

Novice

Joined: 19 Oct 2006
Posts: 13

I am new to MQ and not working on MQ in any Co. currently.

A question: (Could be stupid but I am new, pls)

Env: Win XP, SP-2; MQ 6.0.1.0 (Both client and server installed)

On this link: http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html

I found, couple of programs For Windows NT.

I wanna understand understand how program is working.(Any program pertaining to NT).
Like how they read data and put them on to a queue 24/7.

Secondly, Since I've MQ installed (both client and server) on NT.

The API's calls like MQCONN and 12 others....how can I see them practically working. E.g. I've seen how amqsput and amqsputc working practically. I tried to search MQCONN on C:\Program Files\IBM\WebSphere MQ, but couldn't find it. Can't execute it on Commnad prompt.
MQCONN (QMgrName, Hconn, CompCode, Reason)
Doesn't execute....Seems like I am missing some basic ingredient. I tried to read thru MQ app programming but I'm not good at reading docs without doing it or seeing it happening. So can you jump start me.

Any help is appreciated!

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 31, 2006 7:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Okay, mostly in order:

To understand the program, read the source code. The samples are well commented and you should be able to follow the flow. Also the API are intutively named (eg MQCONN CONNects, MQGET GETs a message, etc).

To use a queue 24/7 (i.e. high availabity) you need to search this forum. There's been a raft of discussion on the best way to achieve this, and the "right" way is a matter of your exact requirements, your exact budget and how vital 24/7 opperations is (i.e. is down time totally unacceptable, can you survive 10 minutes, a hour, etc.).

MQCONN et al are API calls and can't be executed from a command prompt, only within a program. Stick with the app prog guide. Be aware that amqsput, amqsget, etc look like commands but are samples. Examine them.

Finally, if you have a specific question there's this forum. It's a help group not a training team so questions like "how do I get a message?" will probably get an answer involving reading the manual, but "how do I get a message from a queue under syncpoint when it's in EBCDIC" will elicit a response. Especially if followed by "I've already checked the manual, Googled and tried ...... with no success".

Also note the search button at the top of this page. As a newbie (and welcome to the MQ world by the way) I doubt you'll ask a question for a while which hasn't already been asked & answered!

Experimentation is the key to learning
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Neha
PostPosted: Tue Oct 31, 2006 10:10 am    Post subject: Reply with quote

Novice

Joined: 19 Oct 2006
Posts: 13

Quote:
MQCONN et al are API calls and can't be executed from a command prompt, only within a program. Stick with the app prog guide. Be aware that amqsput, amqsget, etc look like commands but are samples. Examine them.


Thanks for taking confusion out.
Basically just looking for only directions on this site....

Any inputs/ Links are welcomed
Thanks again...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 31, 2006 10:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There are tons of links in tons of messages on this site.

Most of them point to the MQ Information Center, which contains a number of manuals that you should read. Not skim through, not dip into, but as a newbie you should read them. Even if you don't understand much of it, you will probably remember little bits and pieces.

You can also, if you search here, find links to the MQ Primer which is a Support Pack that provides a tutorial for WebSphere MQ.

And as a newbie, learning how to search here is a very good thing to learn! It will save you lots of time learning other things later on, and help you find common answers to all the common questions that newbies ask over and over and over and over.
_________________
I am *not* the model of the modern major general.
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 Discussion » Newbie Questions!
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.