Don't have time to look up that documentation write now, but I have applications that use MQCONNX with an MQCD and they are on 5.2 and 5.3 clients. How ever I needed to back them off to version 6 to do this on the 5.2 clients.
Where did you pull that quote from? |---------+---------------------------------------> | | "David C. Partridge" | | | <[EMAIL PROTECTED]> | | | | | | Sent by: MQSeries List | | | <[EMAIL PROTECTED]> | | | | | | | | | | | | Wednesday February 4, 2004 08:41 AM | | | Please respond to MQSeries List | | | | |---------+---------------------------------------> >----------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: Cant get amqscnxc sample program working | >----------------------------------------------------------------------------------------------------| If you are using the MQCONNX as a client, and providing an MQCD, the docs are quite explicit that you MUST use a version 7 MQCD: QUOTE from MQCNO documentation: If the application provides an MQCD structure, the fields listed below must be set to the values required; other fields in MQCD are ignored. Character strings can be padded with blanks to the length of the field, or terminated by a null character. Refer to the WebSphere MQ Intercommunication book for more information about the fields in the MQCD structure. Field in MQCD Value ChannelName Channel name. Version Structure version number. Must not be less than MQCD_VERSION_7. END QUOTE This means that you must be using a 5.3 version of the client, and (probably) a 5.3 version of the QM at the server. Why this should be I'm not sure as the only thing the V7 MQCD adds over the V6 one is the SSL stuff which isn't necessarily needed. Dave -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Richard Brunette Sent: 04 February 2004 14:06 To: [EMAIL PROTECTED] Subject: Re: Cant get amqscnxc sample program working Was it built with the 5.3 sources? (or from the samples bin on a 5.3 install) The source values the MQCD version with a default value of MQCD_CURRENT_VERSION. With the 5.3 cmqxc.h file that is version 7. I believe that if you do an MQCONNX with a version 7 MQCD on a 5.2 cleint then it is going to give you a 2277, because it does not recognize anything beyond version 6. Try either building it with version 5.2 files, or altering the code to explicitly value the structure as a version 6 MQCD. I don't think there is anything in the source that requires the fields added with the version 7 structure. Rick |---------+---------------------------------------> | | [EMAIL PROTECTED] | | | | | | Sent by: MQSeries List | | | <[EMAIL PROTECTED]> | | | | | | | | | | | | Tuesday February 3, 2004 11:52 PM | | | Please respond to MQSeries List | | | | |---------+---------------------------------------> > --------------------------------------------------------------------------- -------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: Cant get amqscnxc sample program working | > --------------------------------------------------------------------------- -------------------------| Howdy, I am also testing on win2k and I tried the IP address still no luck, does not make sense! Just had a thought.. Is this only applicable to v5.3 client / server ? Client is v5.2 servers are v5.3 Sid -----Original Message----- From: Tony Devitt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 4 February 2004 3:22 PM To: [EMAIL PROTECTED] Subject: Re: Cant get amqscnxc sample program working ************************************************************************** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ************************************************************************** : I just tried: amqscnxc -x lwscv010.development. abclimited.dev :to check if the problem was with the form of connection name, but that worked OK, finding the default QM and connecting to SYSTEM.DEF.SVRCONN. Have you tried with an IP address? btw I am on Windows 2000. Also I have been testing it on a machine that has both server and client installed, though I would not have thought that would make a difference. : **************************************************************************** **** The information transmitted in this message and attachments (if any) is intended only for the person or entity to which it is addressed. The message may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete this e-mail and associated material from any computer. The intended recipient of this e-mail may only use, reproduce, disclose or distribute the information contained in this e-mail and any attached files, with the permission of the sender. This message has been scanned for viruses and cleared by MailMarshal. ******************************************************************** : 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 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 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 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 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