Author |
Message
|
bgpcs |
Posted: Fri Jun 14, 2002 8:23 am Post subject: MQClient not running via VB Code |
|
|
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 |
|
 |
mathiss |
Posted: Fri Jun 14, 2002 8:49 am Post subject: |
|
|
 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 |
|
 |
mrlinux |
Posted: Fri Jun 14, 2002 10:25 am Post subject: |
|
|
 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 |
|
 |
bgpcs |
Posted: Fri Jun 14, 2002 11:25 am Post subject: Where can i find the help for the client code for VB? |
|
|
Newbie
Joined: 11 Jun 2002 Posts: 4
|
HI
Where can i find the help for the client code for VB? |
|
Back to top |
|
 |
muralidhar |
Posted: Fri Jun 14, 2002 2:45 pm Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2002 Posts: 50
|
You can look at the vb samples installed with MQSeries client. |
|
Back to top |
|
 |
murlee_99 |
Posted: Tue Jun 18, 2002 7:37 pm Post subject: |
|
|
 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 |
|
 |
StefanSievert |
Posted: Fri Jun 21, 2002 12:05 pm Post subject: |
|
|
 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 |
|
 |
|