|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
imqsgetc -compilation with diff name., different behavior |
« View previous topic :: View next topic » |
Author |
Message
|
pratima_09 |
Posted: Mon May 08, 2006 9:47 am Post subject: imqsgetc -compilation with diff name., different behavior |
|
|
Novice
Joined: 05 May 2006 Posts: 13
|
Hello,
I was successfully able to use the binary imqsgetc from sample programs(bin) to connect to a remote queue manager and write to the queue .
I want to modify imqsget.cpp to put in some extra options for my client program. So I just copied imqsget.cpp to myProgram.C ( a C++ file) and compiled myProgram.C successfully on my HP-UX box.
But, when I execute the corresponding binary, ImqQueueManager::connect failed with reason code 2058. Surprisingly, if I run imqsgetc with the same arguments, everything is fine.
Should I be setting some additional options in my Makefile??
Thanks
Pratima |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 08, 2006 9:59 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you specify that you needed to bind against the mq CLIENT libraries? Or did you bind agains the mq SERVER libraries? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pratima_09 |
Posted: Mon May 08, 2006 10:08 am Post subject: imqsgetc -compilation with diff name., different behavior |
|
|
Novice
Joined: 05 May 2006 Posts: 13
|
These are the libraries I have used:
-limqi23ah -lmqm -lmqic
Do I need to include some other libraries??
-Pratima |
|
Back to top |
|
 |
wschutz |
Posted: Mon May 08, 2006 10:20 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
pratima_09 |
Posted: Mon May 08, 2006 10:27 am Post subject: imqsgetc -compilation with diff name., different behavior |
|
|
Novice
Joined: 05 May 2006 Posts: 13
|
oh ok.. Thanks! It works now.
-Pratima |
|
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
|
|
|
|