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 » Clustering » Compiled Cluster Workflow User Exit program

Post new topic  Reply to topic
 Compiled Cluster Workflow User Exit program « View previous topic :: View next topic » 
Author Message
msklie
PostPosted: Fri Jan 30, 2004 10:20 am    Post subject: Compiled Cluster Workflow User Exit program Reply with quote

Newbie

Joined: 11 Jul 2002
Posts: 7

Anyone have a good Compiled Cluster Workflow User Exit program to share for MQ 5.2 CSD8 running on Sol8? Thanks in advanced.
Back to top
View user's profile Send private message
abiram8
PostPosted: Thu Feb 05, 2004 1:00 am    Post subject: shared in solaris Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

I have the user exit written in c & conv to .dll for windows
but I want to import same to solaris ??

Awaiting for your inputs

Abiram
Back to top
View user's profile Send private message Send e-mail
abiram8
PostPosted: Thu Feb 05, 2004 2:37 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

To be more breif on my query I have solaris 5.8 with GCC Iam not aware of Gcc version.

As I see in the Intercommunication guide it tells abt the cc compiler option.
the steps to make the shared file for cc compiler is

1) cc -c -KPIC MYFORMAT.C
2) ld -G exit.o -o exit

What is the equilent option (instead of -KPIC) in gcc to create the .o file.

Currently we have the exit programme which has bo be executed and then loaded as shared file (so file) in solaris using gcc

Waiting for your inputs

Abiram
Back to top
View user's profile Send private message Send e-mail
abiram8
PostPosted: Thu Feb 05, 2004 6:23 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

To be more specific We have rewritten the MC76 (Priority.c) in a way to select the queue based on the priority (of the "n" QM in cluster).Earlier it was QM priority (rx chl priority)

I want to compile the priority.c (changed one) to a shared file in solaris.

I donot know the user API exit is same as channel exit prog.

Iam new to c please let me know if some one have used gcc to create the shared file solaris & let me know the correct steps etc.,



Abiram
Back to top
View user's profile Send private message Send e-mail
abiram8
PostPosted: Thu Feb 05, 2004 10:54 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi Guys,

I have used the steps given in the

http://www-306.ibm.com/software/integration/mqfamily/support/readme/linux530_read_2.html

*******************************
The following example shows the compiler and loader commands for channel-exit programs on Linux.

$ gcc -c -fPIC exit.c
$ gcc -shared exit.o -o exit
$ cp exit /usr/xmp/lib # (or wherever you require)
************************************

Iam using Solaris 5.8 with GCC 3.2.2

& Followed the same steps as mentioned above for my exit program it never gave me error for creation of .o file or shared file.

It throws the error when I restart the QM

AMQ7214: The module for API Exit '<sharedfile>' could not be loaded.

I have Query.

1) Can I use GCC to create the shared in solaris for the channel exit.
I don’t know if its supported or not.

2) If supported I don’t know if Iam missing the library file /any path since most of the document gives information of using the cc not gcc.

3) If any library or any path to be included or which option of gcc should point it.

Looking for your valuable inputs

Abiram
Back to top
View user's profile Send private message Send e-mail
abiram8
PostPosted: Thu Feb 12, 2004 1:10 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

Iam not sure but few post showed me that creation of shared library thro gcc can be done thro AIX or Linux for channel exit

They have not mentioned abt Solaris I donot really know if I can use gcc for shared library for channel exit prog.

Is it so


Abiram
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Compiled Cluster Workflow User Exit program
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.