Hi all, I got some problem in writing MQseries client application. Let me explain what i have done.
IBM Mqseries server is running on windows 2000 machine. Mqseries client application is running on Open VMS. I tried to connect with Mqserver from VMS thru the sample program given by IBM ( u can find /tool/c/samples/amqsput0.c) I compiled & linked this file, $CC/INCLUDE_DIRECTORY=MQS_INCLUDE AMQSPUT0 $LINK AMQSPUT0.OBJ,SYS$INPUT/OPTIONS SYS$SHARE:MQM/SHAREABLE Ctrl +Z AMQSPUT0.exe is created I set the environment variable $Define MQSERVER "S_tcp/TCP/207.153.39.43" in the program AMQSPUT0.c I hardcoded the QM_NAME and Q_name instead of passing to command line argument $Run AMQSPUT0 I got the following error $ run amqsput0 MQCONN ended with reason code 2059 When I execute this program in windows2000 system I am able to connect to the Queue and post and get messages Can any one tell me where I am making mistake? Thanks Murugesan Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive