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 » WebSphere Message Broker (ACE) Support » Recompiling (NEON) user exits ( MQSIv2.0.1 -> WMQIv2.1)

Post new topic  Reply to topic
 Recompiling (NEON) user exits ( MQSIv2.0.1 -> WMQIv2.1) « View previous topic :: View next topic » 
Author Message
babanet
PostPosted: Mon Mar 10, 2003 5:32 am    Post subject: Recompiling (NEON) user exits ( MQSIv2.0.1 -> WMQIv2.1) Reply with quote

Newbie

Joined: 10 Mar 2003
Posts: 1

Recompiling user exits ( MQSIv2.0.1 -> WMQIv2.1)

The following is what IBM documentation suggests in order to recompile customized user-exits and make them work as before:


User exits from previous versions have to be recompiled as multi-threaded objects (and linked with thread-safe libraries). Follow the separate procedure to ultimately generate the nnuserexit.dll and incorporate the table bind files and the nnuserexit.dll into the new WMQI environment.

Due to the change in naming conventions (NNSY replaces NEON), the following adjustments have to be made to the following files:

1. Update customized code that uses the following header files:
Current C++ Header File: Updated C++ Header File:
---------------------------------- -----------------------------------
NEON.h NNSY.h
NEONETRELEASE.h NNSYFRELEASE.h
INFR/NEONObjects.h INFR/NNSYObjects .h
NNGLOBAL/NEONDefinedMessageProperties.h NNGLOBAL/NNSYDefinedMessageProperties.h

Example
#include <INFR/NEONObjects.h> changes to
#include <INFR/NNSYObjects.h

2. Update the following global compiler names (where applicable):
Current Global Compiler Name: Updated Global Compiler Name:
---------------------------------- -----------------------------------
USING_NAMESPACE(NEON) USING_NAMESPACE(NNSY)
NEON_NAMESPACE NNSY_NAMESPACE



[ Note: I think there is a bit of unclarity in this procedure . No specific instructions are provided in any of the known IBM or Sybase websites or in any one of the WMQI manuals as to how to &#8220;recompile the customised user exits as multi-threaded objects (and linked with thread-safe libraries)&#8221;, in order to make them work as they did before the migration. This particular issue is of immense importance and will be of great concern to the MQSI team.

On a trial machine (not cluster), I tried performing this step as it &#8216;reads&#8217; i.e. recompiling the user exits as multi-threaded objects. I then tested the setup with two interfaces with customised user exits, one of them performing a database lookup. I found that when the interface user exit does not perform a database lookup, it works fine. However, when a database lookup is involved, the reformating fails when it tries to call the routine to perform the lookup. (Also in the Visual Tester tool, the same problem occurs, with an error message about incorrect memory address reference!) ].

The question is: How exactly does one perform this procedure (in the Microsoft Visual C++ environment) in order to achieve the desired purpose? Do I have to recompile all static library projects or is it just the nnuserexit.dll, and in any case, how exactly do I perform this recompilations within Visual C++ such that the user exits would now be compatible with WMQIv2.1 environment?
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 » WebSphere Message Broker (ACE) Support » Recompiling (NEON) user exits ( MQSIv2.0.1 -> WMQIv2.1)
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.