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 » Is MQGET support pac supported in WBIMB?

Post new topic  Reply to topic
 Is MQGET support pac supported in WBIMB? « View previous topic :: View next topic » 
Author Message
kwelch
PostPosted: Thu Aug 07, 2003 5:09 am    Post subject: Is MQGET support pac supported in WBIMB? Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Hi,

I was wondering if any of you folks that have installed WBIMB use the MQGET support pac and if it worked ok with this new version? Thanks.

Karen
Back to top
View user's profile Send private message Send e-mail
datran
PostPosted: Thu Aug 07, 2003 8:45 pm    Post subject: Reply with quote

Newbie

Joined: 14 Jan 2003
Posts: 7
Location: Australia

We have installed it with V5 but you have to recompile it and change the output terminal "no message" to something else eg "no_mesage" for it to work
Back to top
View user's profile Send private message
venkat kurra
PostPosted: Fri Sep 12, 2003 9:42 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

Can you explain clearly?
IA09 support pack source has MQGet.c,NodeUtils.c,NodeUtils.h,Stdafx.CPP, and StdAfx.h files. Look like MQGet.c has "no message" value. I got this note "If any changes are to be made to the plug-in node, an appropriate C++ compiler is required". So what are the files we need to execute? Any other changes?
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri Sep 12, 2003 9:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Well, you need to change MQGet.c file first to make it "no_message" and then change the XML configuration file for the same.
In WMQI Programming Guide manual, refer to Chapter 6. compiling a plug-in node or parser section for information on compiling your changed source node.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
venkat kurra
PostPosted: Tue Sep 16, 2003 10:01 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

Hi Kiran,
I did not find the header file "mqget_msg.h(#include "NT_msg/mqget_msg.h") to compile this program. I found mqget_msg.txt file under NT_msg directory.
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Tue Sep 16, 2003 10:28 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Switch to the "source\NT_msg" directory and run "build". It will generate the mqget_msg.h file.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
venkat kurra
PostPosted: Thu Sep 18, 2003 5:50 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

build.bat genarated MQGet.h file.
Shell i use VC++ compiler to recompile this source code?VC++ compiler is on different server,which has only MQSeries5.3(no WMQI). So i copied all 4 Bip*.h files and path set to these files and VC++ bin directory too. Compilation is worked fine. But we got errors when we rebuild these files. here some of those...

Creating library Debug/MQGet.lib and object Debug/MQGet.exp
MQGet.obj:error LINK2001:unresolved external symbol_mqsixASCIIToUnicode
MQGet.obj:error LINK2001:unresolved external symbol_mqsixUnicodeToASCII
MQGet.obj:error LINK2001:unresolved external symbol_mqsixBrokerInfo
.................................................
...................................................
LIBCD.lib(crt0.obj):error LNK2001:unresolved external symbol_main
Debug/MQGet.exe:fatal error LNK1120:37 unresolved externals
Error executing link.exe
MQGet.exe- 38 error(s), 0 warning(s)

We got 38 errors. Shell i need to set any path? Can you help me what are the Lib and dlls requird to build this.
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
venkat kurra
PostPosted: Fri Sep 19, 2003 8:59 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

I saw the MQSI programming guide and came to know just we need to genarate.lil by recompile this code. What i did in the above message was wrong. As i told before this c++ server has mq but not mqsi.So i copied all bin and lib directory from MQSi server and set path and calsspath variables. All header files are at mqsi/plugin/include. Build.bat genarated mqget_msg.h file under mqsi/plugin/include/NT_msg. Finally run cl /VERBOSE /LD /MD /Zi /I C:\MQSI\include\plugin /I C:\MQSI\include\plugin MQGet.c -link /DLL C:\MQSI\lib\imbdfplg.lib /OUT:MQGet.lil

Here error says source file could not find.
MQGet.c and imbdfplg.lib are in right directory. Any thing i missed?
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
venkat kurra
PostPosted: Fri Sep 19, 2003 10:59 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

Latest error...
C:\MQSI2.1\include\plugin>MQGetCL.bat

C:\MQSI2.1\include\plugin>cl /VERBOSE /LD /MD /Zi /I C:\MQSI2.1\include\plugin M
QGet.c -link /DLL C:\MQSI2.1\lib\imbdfplg.lib /OUT:MQGet.lil
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

MQGet.c
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:MQGet.dll
/dll
/implib:MQGet.lib
/debug
/DLL
C:\MQSI2.1\lib\imbdfplg.lib
/OUT:MQGet.lil
MQGet.obj
Creating library MQGet.lib and object MQGet.exp
MQGet.obj : error LNK2001: unresolved external symbol _mqsixASCIIToUnicode
MQGet.obj : error LNK2001: unresolved external symbol _mqsixUnicodeToASCII
MQGet.obj : error LNK2001: unresolved external symbol _mqsixBrokerInfo
MQGet.obj : error LNK2001: unresolved external symbol _mqsixLog
MQGet.obj : error LNK2001: unresolved external symbol _mqsixAddAttribute
MQGet.obj : error LNK2001: unresolved external symbol _MQDISC
MQGet.obj : error LNK2001: unresolved external symbol _MQCLOSE
MQGet.obj : error LNK2001: unresolved external symbol _mqsixReleaseAttributes
MQGet.obj : error LNK2001: unresolved external symbol _mqsixGetAttributeName
MQGet.obj : error LNK2001: unresolved external symbol _mqsixGetAttribute
MQGet.obj : error LNK2001: unresolved external symbol _mqsixSetAttribute
MQGet.obj : error LNK2001: unresolved external symbol _mqsixStringDuplicate
MQGet.obj : error LNK2001: unresolved external symbol _mqsixStringCompare
MQGet.obj : error LNK2001: unresolved external symbol _mqsixNewElement
MQGet.obj : error LNK2001: unresolved external symbol _mqsixElementByteArrayValu
e
MQGet.obj : error LNK2001: unresolved external symbol _mqsixFindElement
MQGet.obj : error LNK2001: unresolved external symbol _MQOPEN
MQGet.obj : error LNK2001: unresolved external symbol _MQCONN
MQGet.obj : error LNK2001: unresolved external symbol _mqsixDebugBreak
MQGet.obj : error LNK2001: unresolved external symbol _MQGET
MQGet.obj : error LNK2001: unresolved external symbol _mqsixRegisterMessages
MQGet.lil : fatal error LNK1120: 21 unresolved externals
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Mon Sep 22, 2003 8:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

It seems your compilation sequence is not correct. Try chaging the compiling sequence for the c files. Also, it seems the linker couldn't find MQSeries libraries in the path for linking.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
venkat kurra
PostPosted: Tue Sep 23, 2003 6:08 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

yes you are right. Now the sequence is..
cl /VERBOSE /LD /MD /Zi /I C:\MQSI2.1\include\plugin MQGet.c NodeUtils.c StdAfx.cpp -link /DLL C:\MQSI2.1\lib\imbdfplg.lib /OUT:MQGet.lil

Here the output.............

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

MQGet.c
NodeUtils.c
Generating Code...
Compiling...
StdAfx.cpp
Generating Code...
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:MQGet.dll
/dll
/implib:MQGet.lib
/debug
/DLL
C:\MQSI2.1\lib\imbdfplg.lib
/OUT:MQGet.lil
MQGet.obj
NodeUtils.obj
StdAfx.obj
Creating library MQGet.lib and object MQGet.exp
MQGet.obj : error LNK2001: unresolved external symbol _MQDISC
MQGet.obj : error LNK2001: unresolved external symbol _MQCLOSE
MQGet.obj : error LNK2001: unresolved external symbol _MQOPEN
MQGet.obj : error LNK2001: unresolved external symbol _MQCONN
MQGet.obj : error LNK2001: unresolved external symbol _MQGET
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegSetValueExA@
24
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegCreateKeyExA
@36
MQGet.lil : fatal error LNK1120: 8 unresolved externals

I included 3 source files provided by IBM. Any other source files we need?
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Sep 23, 2003 6:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Now you are missing mqm.lib file from your Library path. Please set the path to the directory where this file is located.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
venkat kurra
PostPosted: Tue Sep 23, 2003 9:40 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

Kiran,
I included mqm.lib and resolved MQ functions. But still some thing need to include. Error message is ..
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegSetValueExA@
24
NodeUtils.obj : error LNK2001: unresolved external symbol __imp__RegCreateKeyExA
@36

One more question is where we copy these .gif or MQGet ...etc files(page 4 in MQGet Plug-in). I could not see TOOl directory in WBIMB. There is ibtoolkit/eclipse... and ivtoolkit/eclipse... some thing like this
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Sep 23, 2003 9:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Venkat,
It seems these functions have to do soemthing with the registry .. not sure what would be the library for these.

I don't know about the gif files, but you can either define a plug-in node in WBIMB or use mqsimigratemsgflows command to import the plug-in XML configuration file to WBIMB.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
venkat kurra
PostPosted: Tue Sep 23, 2003 11:47 am    Post subject: Reply with quote

Master

Joined: 18 Oct 2001
Posts: 245
Location: Bloomington , IL

Thanks Kiran.
We added advapi32.lib in the link DLL and it worked.
cl /VERBOSE /LD /MD /Zi /I C:\MQSI2.1\include\plugin MQGet.c NodeUtils.c StdAfx.cpp -link /DLL C:\MQSI2.1\lib\imbdfplg.lib mqm.lib advapi32.lib /OUT:MQGet.lil
_________________
Thanks,

Venkat Kurra

IBM Certified Specialist-MQSeries
IBM Websphere MQSeries Administrator
IBM WebSphere Message Broker System Admin
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 » WebSphere Message Broker (ACE) Support » Is MQGET support pac supported in WBIMB?
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.