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 » MQSeries for HP-UX11 [ 64 bit ]

Post new topic  Reply to topic
 MQSeries for HP-UX11 [ 64 bit ] « View previous topic :: View next topic » 
Author Message
munish
PostPosted: Thu Oct 30, 2003 7:32 am    Post subject: MQSeries for HP-UX11 [ 64 bit ] Reply with quote

Newbie

Joined: 30 Oct 2003
Posts: 4

Hi ,

I am using MQSeries on HP-UX11. The application requires Informix & MQSeries. The Informix Libraries are 64 bit & MQSeries libraries are 32 bit.
Have also installed 64 bit client libraries for MQ . The problem is :
- I am not able to compile & run the sample program amqsput0.c
( The library being used is /opt/mqm/lib64/libmqic.sl)
- Moreover the coding standards laid by our company's client asks
to use libmqm.sl (Server lib.) instead of libmqic.sl (client lib.)
[ No idea why is it so ! ]

So is there 64 bit server libraries available for HP-UX11 ?
And are there some changes to be made in amqsput0.c
to make it 64 bit compatable ?

Thanks ,
Munish
Back to top
View user's profile Send private message Yahoo Messenger
Leafar
PostPosted: Thu Oct 30, 2003 7:39 am    Post subject: Reply with quote

Acolyte

Joined: 03 Apr 2003
Posts: 74
Location: Buenos Aires

Can you post the compilation errors and the command line?
Back to top
View user's profile Send private message MSN Messenger
munish
PostPosted: Thu Oct 30, 2003 7:55 am    Post subject: Reply with quote

Newbie

Joined: 30 Oct 2003
Posts: 4

There are no comilation errors , only run time :
---------------------------------------
$>a.out UX4.REMOTE QM_MUNISH
Sample AMQSPUT0 start
target queue is UX4.REMOTE
MQOPEN ended with reason code 8667244003328

MQCLOSE ended with reason code 8667244003328
MQDISC ended with reason code 8667244003328
Sample AMQSPUT0 end
---------------------------------------
It seems that the MQLONG datatype is being mapped to long (64 bit)
and so is returning wrong "reason code"

The compilation is using :
cc -o a.out amqsput0.c -L/opt/mqm/lib64 -lmqic -lmqmcs -lmqmzse -lnsl
Back to top
View user's profile Send private message Yahoo Messenger
mrlinux
PostPosted: Thu Oct 30, 2003 8:50 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

What happens if you compile without these lib's -lmqmcs -lmqmzse -lnsl
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
munish
PostPosted: Thu Oct 30, 2003 7:19 pm    Post subject: Reply with quote

Newbie

Joined: 30 Oct 2003
Posts: 4

Even after compiling without lib's -lmqmcs -lmqmzse -lnsl , getting the same errors.

Is there 64 bit version for MQ on HP-UX11 available ???
Back to top
View user's profile Send private message Yahoo Messenger
clindsey
PostPosted: Fri Oct 31, 2003 9:48 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

>>- Moreover the coding standards laid by our company's client asks
>>to use libmqm.sl (Server lib.) instead of libmqic.sl (client lib.)

This cannot be done in 64 bit mode.

You can only link with libmqic.sl. Then your connection is via sockets (client mode) so you must export MQSERVER or use MQCONNX and specify your channel, host, and port within the code.

Charlie
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 » MQSeries for HP-UX11 [ 64 bit ]
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.