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 » IBM MQ Installation/Configuration Support » MQClient not running via VB Code

Post new topic  Reply to topic
 MQClient not running via VB Code « View previous topic :: View next topic » 
Author Message
bgpcs
PostPosted: Fri Jun 14, 2002 8:23 am    Post subject: MQClient not running via VB Code Reply with quote

Newbie

Joined: 11 Jun 2002
Posts: 4

Following are my settings
MQ Server 5.2 : OS WinNt 4.0
MQ Client 5.2 : OS Win 98

MQ Server :
----------------
Q Manager Name : QM1
Q Name : LQ1
Listener For QM1 on : 1415
ServerConnection Channel: SCC1

MQ Client:
------------------
SET MQSERVER = SCC1/TCP/IPADDRESS(Port)
SET MQCHLLIB=c:\mqm
SET MQCHLTAB=AMQCLCHL.TAB

Query:
When I try to put the message from client using AMQSPUTC it works fine but when i try to put the message using VB code it fails with reason code 2059.

Have i forgot any necessary step?

Can u please help me.

Thanking you in advance.
BG
Back to top
View user's profile Send private message
mathiss
PostPosted: Fri Jun 14, 2002 8:49 am    Post subject: Reply with quote

Novice

Joined: 21 Jan 2002
Posts: 12
Location: Harrisburg, PA

Hi did you compile the vb program with the client setting instead of server setting. There is two different setups for the copybooks.

Sue
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Fri Jun 14, 2002 10:25 am    Post subject: Reply with quote

Grand Master

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

You dont need to use both the ( SET MQCHLLIB=c:\mqm
SET MQCHLTAB=AMQCLCHL.TAB ) and the MQServer.

In fact the MQServer variable overrides the other 2
_________________
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
bgpcs
PostPosted: Fri Jun 14, 2002 11:25 am    Post subject: Where can i find the help for the client code for VB? Reply with quote

Newbie

Joined: 11 Jun 2002
Posts: 4

HI
Where can i find the help for the client code for VB?
Back to top
View user's profile Send private message
muralidhar
PostPosted: Fri Jun 14, 2002 2:45 pm    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 50

You can look at the vb samples installed with MQSeries client.
Back to top
View user's profile Send private message Send e-mail
murlee_99
PostPosted: Tue Jun 18, 2002 7:37 pm    Post subject: Reply with quote

Novice

Joined: 28 May 2002
Posts: 10
Location: NZ

If you are running the example then specify the Q Manager name when you are opening the connection
MQCONN "[b]Specify the Q Manager Name[/b]", gHcon, CompCode, Reason
Back to top
View user's profile Send private message Yahoo Messenger
StefanSievert
PostPosted: Fri Jun 21, 2002 12:05 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

muralidhar wrote:
You can look at the vb samples installed with MQSeries client.

Specifically, the cmqb.bas file contains about 3 pages of comments at the beginning that explain how MqType is to be set.
HTH,
Stefan
_________________
Stefan Sievert
IBM Certified * WebSphere MQ
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 » IBM MQ Installation/Configuration Support » MQClient not running via VB Code
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.