How to fix invalid XML with broker
Using WBIMB V5 fixpack 2 I've got the following invalid xml flowing into the broker: ?xml version=1.0 encoding=UTF-8? Header Info1 Something /Info1 Info2 Something else /Info2 /Header ?xml version=1.0 encoding=UTF-8? DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail So, from above, the XML is invalid. I need to change it with the broker to: ?xml version=1.0 encoding=UTF-8? Yikes Header Info1 Something /Info1 Info2 Something else /Info2 /Header DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail /Yikes Any ease way to do this? Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] 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
Re: How to fix invalid XML with broker
What you're looking to do is remove the second ?xml ... ? instruction and enclose the whole lot in a Yikes element. Can you cast the message to a non-XML plain string and then use string manipulation to find the end of the first ?xml ... ? and insert a Yikes, then find and remove the next ?xml ... ? and then append /Yikes Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 08:24 To: [EMAIL PROTECTED] Subject: How to fix invalid XML with broker Using WBIMB V5 fixpack 2 I've got the following invalid xml flowing into the broker: ?xml version=1.0 encoding=UTF-8? Header Info1 Something /Info1 Info2 Something else /Info2 /Header ?xml version=1.0 encoding=UTF-8? DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail So, from above, the XML is invalid. I need to change it with the broker to: ?xml version=1.0 encoding=UTF-8? Yikes Header Info1 Something /Info1 Info2 Something else /Info2 /Header DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail /Yikes Any ease way to do this? Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] 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 *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. 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
Use of MQClients
Hi, We have a Sun Solaris machine that has MQClient configured to work with a remote MQServer installation. We are now contemplating on using that client to communicate with another server simultaneously. Is this possible? What configuration steps are required? Do we need to be at a particular level of MQSeries? Thanks, Kulbir.
Re: Use of MQClients
I know you can talk to multiple QMGRs on the same Server by using the Channel table so logically the answer to your question should be yes. If it is so in practice, I do not know. Read up on AMQCLCHL.TAB, this is the name of the Client Channel Table. From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Kulbir S. Thind Sent: 05 December 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Use of MQClients Hi, We have a Sun Solaris machine that has MQClient configured to work with a remote MQServer installation. We are now contemplating on using that client to communicate with another server simultaneously. Is this possible? What configuration steps are required? Do we need to be at a particular level of MQSeries? Thanks, Kulbir. Any views expressed in this message are those of the individual sender, and T-Systems South Africa (Pty) Ltd accepts no liability therefore, except where the sender specifically states them to be those of T-Systems South Africa (Pty) Ltd. Although this message has been scanned for the possible presence of computer viruses prior to despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses or other material transmitted with, or as part of, this message.
Re: How to fix invalid XML with broker
John I think that is what I am looking for, the code on how to do it in ESQL, I'm not an expert ESQL programmer. Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] John Scott [EMAIL PROTECTED]To: [EMAIL PROTECTED] .CO.UK cc: Sent by: MQSeriesSubject: Re: How to fix invalid XML with broker List [EMAIL PROTECTED] N.AC.AT 05/12/2003 10:40 Please respond to MQSeries List What you're looking to do is remove the second ?xml ... ? instruction and enclose the whole lot in a Yikes element. Can you cast the message to a non-XML plain string and then use string manipulation to find the end of the first ?xml ... ? and insert a Yikes, then find and remove the next ?xml ... ? and then append /Yikes Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 08:24 To: [EMAIL PROTECTED] Subject: How to fix invalid XML with broker Using WBIMB V5 fixpack 2 I've got the following invalid xml flowing into the broker: ?xml version=1.0 encoding=UTF-8? Header Info1 Something /Info1 Info2 Something else /Info2 /Header ?xml version=1.0 encoding=UTF-8? DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail So, from above, the XML is invalid. I need to change it with the broker to: ?xml version=1.0 encoding=UTF-8? Yikes Header Info1 Something /Info1 Info2 Something else /Info2 /Header DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail /Yikes Any ease way to do this? Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] 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 *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. 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
Re: Use of MQClients
Yes, you can do it by setting up the channel table correctly and enabling svrconn channels on the server. Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] Emile Kearns [EMAIL PROTECTED]To: [EMAIL PROTECTED] TEMS.CO.ZAcc: Sent by: MQSeries Subject: Re: Use of MQClients List [EMAIL PROTECTED] AC.AT 05/12/2003 12:14 Please respond to MQSeries List I know you can talk to multiple QMGRs on the same Server by using the Channel table so logically the answer to your question should be yes. If it is so in practice, I do not know. Read up on AMQCLCHL.TAB, this is the name of the Client Channel Table. From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Kulbir S. Thind Sent: 05 December 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Use of MQClients Hi, We have a Sun Solaris machine that has MQClient configured to work with a remote MQServer installation. We are now contemplating on using that client to communicate with another server simultaneously. Is this possible? What configuration steps are required? Do we need to be at a particular level of MQSeries? Thanks, Kulbir. Any views expressed in this message are those of the individual sender, and T-Systems South Africa (Pty) Ltd accepts no liability therefore, except where the sender specifically states them to be those of T-Systems South Africa (Pty) Ltd. Although this message has been scanned for the possible presence of computer viruses prior to despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses or other material transmitted with, or as part of, this message. 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
Re: Authenticating a VB Client to a Unix QMGR
MQ does the authentication on unix/NT domain user level authenticaiton. So, create the xxx userid in UNIX and try to connect the NT client with same xxx userid. -Original Message- From: Wesley Shaw [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 11:35 PM To: [EMAIL PROTECTED] Subject: Authenticating a VB Client to a Unix QMGR How would one authenticate on a Solaris Unix MQ Server a client connection coming from an Win2000 Client connection being initiated from a VB application doing a put- request / get -reply model. I can not seem to get the unix ID/Group set in /etc/password to authenticate a ID passed through the message from a WIndows Client. Is this possible or is hardcoding the mcauser the only option? 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 ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** 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
Re: Use of MQClients
Thanks. Can you communicate with multiple MQServers on separate machines? Francois Van der Merwe1 [EMAIL PROTECTED] Sent by: MQSeries List [EMAIL PROTECTED] 05-Dec-2003 10:59 Please respond to MQSeries List [EMAIL PROTECTED] To:MQSERIES cc: Subject:Re: Use of MQClients Yes, you can do it by setting up the channel table correctly and enabling svrconn channels on the server. Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] Emile Kearns [EMAIL PROTECTED]To:[EMAIL PROTECTED] TEMS.CO.ZAcc: Sent by: MQSeries Subject: Re: Use of MQClients List [EMAIL PROTECTED] AC.AT 05/12/2003 12:14 Please respond to MQSeries List I know you can talk to multiple QMGRs on the same Server by using the Channel table so logically the answer to your question should be yes. If it is so in practice, I do not know. Read up on AMQCLCHL.TAB, this is the name of the Client Channel Table. From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Kulbir S. Thind Sent: 05 December 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Use of MQClients Hi, We have a Sun Solaris machine that has MQClient configured to work with a remote MQServer installation. We are now contemplating on using that client to communicate with another server simultaneously. Is this possible? What configuration steps are required? Do we need to be at a particular level of MQSeries? Thanks, Kulbir. Any views expressed in this message are those of the individual sender, and T-Systems South Africa (Pty) Ltd accepts no liability therefore, except where the sender specifically states them to be those of T-Systems South Africa (Pty) Ltd. Although this message has been scanned for the possible presence of computer viruses prior to despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses or other material transmitted with, or as part of, this message. 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
Re: How to fix invalid XML with broker
Title: RE: How to fix invalid XML with broker Hi Francois You take message in blob domain. Then cast as char ie ESQL : CAST(InputRoot.BLOB.BLOB AS CHAR CCSID 819 ENCODING 546); Encoding will depend on platform, this works for W2K. Then you can search for it in the string using POSITION function. Alternatively you can search for the pattern in the blob. Hope this helps. Regards Magendran -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED]] Sent: 05 December 2003 12:53 To: [EMAIL PROTECTED] Subject: Re: How to fix invalid XML with broker John I think that is what I am looking for, the code on how to do it in ESQL, I'm not an expert ESQL programmer. Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] John Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] .CO.UK cc: Sent by: MQSeries Subject: Re: How to fix invalid XML with broker List [EMAIL PROTECTED] N.AC.AT 05/12/2003 10:40 Please respond to MQSeries List What you're looking to do is remove the second ?xml ... ? instruction and enclose the whole lot in a Yikes element. Can you cast the message to a non-XML plain string and then use string manipulation to find the end of the first ?xml ... ? and insert a Yikes, then find and remove the next ?xml ... ? and then append /Yikes Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED]] Sent: 05 December 2003 08:24 To: [EMAIL PROTECTED] Subject: How to fix invalid XML with broker Using WBIMB V5 fixpack 2 I've got the following invalid xml flowing into the broker: ?xml version=1.0 encoding=UTF-8? Header Info1 Something /Info1 Info2 Something else /Info2 /Header ?xml version=1.0 encoding=UTF-8? DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail So, from above, the XML is invalid. I need to change it with the broker to: ?xml version=1.0 encoding=UTF-8? Yikes Header Info1 Something /Info1 Info2 Something else /Info2 /Header DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail /Yikes Any ease way to do this? Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] 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 *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. 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
Re: Use of MQClients
Yes, MQ Clients can connect to more than one Queue Manager at a time. I have coded Java Applets that have connected with up to 24 Queue Managers concurrently, all on separate machines. -Original Message-From: Kulbir S. Thind [mailto:[EMAIL PROTECTED]Sent: Friday, December 05, 2003 7:56 AMTo: [EMAIL PROTECTED]Subject: Re: Use of MQClientsThanks. Can you communicate with multiple MQServers on separate machines? "Francois Van der Merwe1" [EMAIL PROTECTED] Sent by: "MQSeries List" [EMAIL PROTECTED] 05-Dec-2003 10:59 Please respond to "MQSeries List" [EMAIL PROTECTED] To: MQSERIES cc: Subject: Re: Use of MQClientsYes, you can do it by setting up the channel table correctly and enablingsvrconn channels on the server.Francois van der MerweSenior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert DeveloperIBM, Cape Town, South Africa+27 (0)82 556 9467 / +27 (0)21 402 5597[EMAIL PROTECTED]Emile Kearns[EMAIL PROTECTED] To:[EMAIL PROTECTED]TEMS.CO.ZA cc:Sent by: MQSeries Subject: Re: Use of MQClientsList[EMAIL PROTECTED]AC.AT 05/12/2003 12:14Please respond toMQSeries List I know you can talk to multiple QMGRs on the same Server by using theChannel table so logically the answer to your question should be yes.If it is so in practice, I do not know.Read up on AMQCLCHL.TAB, this is the name of the Client Channel Table.From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Kulbir S.ThindSent: 05 December 2003 11:36 AMTo: [EMAIL PROTECTED]Subject: Use of MQClientsHi,We have a Sun Solaris machine that has MQClient configured to work with aremote MQServer installation. We are now contemplating on using thatclient to communicate with another server simultaneously. Is thispossible? What configuration steps are required? Do we need to be at aparticular level of MQSeries?Thanks,Kulbir.Any views expressed in this message are those of the individual sender, andT-Systems South Africa (Pty) Ltd accepts no liability therefore, exceptwhere the sender specifically states them to be those of T-Systems SouthAfrica (Pty) Ltd. Although this message has been scanned for the possiblepresence of computer viruses prior to despatch, T-Systems South Africa(Pty) Ltd cannot be held responsible for any viruses or other materialtransmitted with, or as part of, this message.Instructions for managing your mailing list subscription are provided inthe Listserv General Users Guide available at http://www.lsoft.comArchive: http://vm.akh-wien.ac.at/MQSeries.archive This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies.
Re: MQSeries for Windows/MSCS
Have you verified the MQ error logs (both at the QM level and at the system level)? Any FDCs? Maybe the QM is really having problems. -Original Message- From: Wert, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 5:30 PM To: [EMAIL PROTECTED] Subject: MQSeries for Windows/MSCS We have two queue managers running on a Windows 2000 server with MSCS (we're using MQSeries version 5.2.1 with CSD07 and the MC74 support pack to get MQSeries to work with MSCS). Every so often, the cluster is reporting that one of the queue managers has failed. Sometimes, the cluster restarts the queue manager. Other times, the cluster simply logs the failure to the cluster.log: IBM MQSeries MSCS M04P IBM MQSeries MSCS: QM has stopped unexpectedly The cluster is only having problems with one of the two queue managers. I'm unable to determine why the cluster thinks the MQSeries queue manager resource has failed. I'm trying to verify with the system administrator that the MQSeries log files and data files are excluded from the backup, anti-virus, and monitoring software. Does anyone else have any experience with MQSeries in an MSCS environment? Are there any special settings that I should use for the MQSeries resource definitions? Do I need to increase or decrease the Looks Alive and/or Is Alive polling intervals? Has anyone else experienced similar problems? Any advice? Jim Wert Information Specialist Interface Support EDS - Coors Account Colorado Solution Centre (303) 277-3382 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 This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. 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
Re: VB.NET clients limited to 4 MEG?
The below error was thrown because when you use the .NET classes from CSD05, you must upgrade the Framework to 1.1 (the docs are wrong). Once we figured that out, it was determined that .NET straight out of CSD05 has (incorrectly) a 4 MEG limit on the Client channels. IBM sent me a fix, which I will test out as soon as my VB.NET software comes in. (The client I was helping gave up on CSD05 and .NET and went back to using the Support Pack, because CSD05 also introduces PCF errors when used out of .NET, which he needed). The MQChannelDefenition Class listed at the start of Chapter 4 is not available for use (it is private, an omission in the doc). -Original Message- From: Potkay, Peter M (PLC, IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 1:07 PM To: [EMAIL PROTECTED] Subject: Re: VB.NET clients limited to 4 MEG? Since upgrading to CSD05, the application now just flat out does not work. The below error is thrown when attempting to connect to the QM: 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.0.3705\mscorlib.dll', No symbols loaded. 'mqtest': Loaded 'D:\Development\mqtest\mqtest\bin\mqtest.exe', Symbols loaded. 'mqtest.exe': Loaded 'c:\windows\assembly\gac\system\1.0.3300.0__b77a5c561934e089\system.dll', No symbols loaded. 'mqtest.exe': Loaded 'c:\windows\assembly\gac\microsoft.visualbasic\7.0.3300.0__b03f5f7f11d50a3a\ microsoft.visualbasic.dll', No symbols loaded. 'mqtest.exe': Loaded 'c:\windows\assembly\gac\amqmdnet\1.0.0.3__dd3cb1c9aae9ec97\amqmdnet.dll', No symbols loaded. An unhandled exception of type 'System.IO.FileNotFoundException' occurred in amqmdnet.dll Additional information: File or assembly name System.EnterpriseServices, or one of its dependencies, was not found. -Original Message- From: Potkay, Peter M (PLC, IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: Re: VB.NET clients limited to 4 MEG? I upgraded the developer to CSD05, but still no luck. I looked in the Java MQ manual and found a class called MQChannelDefinition. This class has a variable called maxMessageLength. maxMessageLength public int maxMessageLength The maximum length of message that can be sent to the queue manager. I assume this is a variable that can be set in Java. So, since the .NET classes are very similar to the Java classes, I looked in the .NET manual for it. The only mention of this class is on the first page of Chapter 4 of the .NET manual. It only says the class is available, but gives no mention of its supported variables. But the class is just not there when you try and access it in the code. I have opened up a ticket with IBM. -Original Message- From: Potkay, Peter M (PLC, IT) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:09 PM To: [EMAIL PROTECTED] Subject: VB.NET clients limited to 4 MEG? I have a client at 5.3 CSD04 with the .NET support pack (Next we week we will upgrade him to CSD05 and the supported classes). Anyway, it seems we can't get a message larger then 4 MEG thru. The QM, the SVRCONN channel and the queue are all at 104857600 for Max Message Length. It keeps throwing a 2010 Error (MQRC_DATA_LENGTH_ERROR). From the Error manual, this means: The DataLength parameter is not valid. Either the parameter pointer is not valid, or it points to read-only storage. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.) This reason can also be returned to an MQ client program on the MQGET, MQPUT, or MQPUT1 call, if the BufferLength parameter exceeds the maximum message size that was negotiated for the client channel. Corrective action: Correct the parameter. If the error occurs for a WebSphere MQ client program, also check that the maximum message size for the channel is big enough to accommodate the message being sent; if it is not big enough, increase the maximum message size for the channel. The app returns some info that shows the MaxMessageLength is 4194304. Since this info in the display is between the IPROCS count and the current depth, we assume it means the queue. So, I made the MAX on the queue 12345, and the SVRCONN channel 300. Now the app returns that the max is 12345. Next, I made the MAX on the queue 400, and the SVRCONN channel was left at 300. Now the app returns that the max is 300! Finally I made both the queue and the SVRCONN channel 500, and the app retuned the MAX as 4194304. MQSERVER variable is not set. The app is building the MQEnvironment class. Why the artificial limit at 4 MEG? Peter Potkay MQSeries Specialist The Hartford Financial Services [EMAIL PROTECTED] x77906 IBM MQSeries Certified This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure,
Re: How to fix invalid XML with broker
Unfortunately I do not have sample code to hand. I am not in a position at the moment to provide something... Sorry. Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 10:53 To: [EMAIL PROTECTED] Subject: Re: How to fix invalid XML with broker John I think that is what I am looking for, the code on how to do it in ESQL, I'm not an expert ESQL programmer. Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] John Scott [EMAIL PROTECTED]To: [EMAIL PROTECTED] .CO.UK cc: Sent by: MQSeriesSubject: Re: How to fix invalid XML with broker List [EMAIL PROTECTED] N.AC.AT 05/12/2003 10:40 Please respond to MQSeries List What you're looking to do is remove the second ?xml ... ? instruction and enclose the whole lot in a Yikes element. Can you cast the message to a non-XML plain string and then use string manipulation to find the end of the first ?xml ... ? and insert a Yikes, then find and remove the next ?xml ... ? and then append /Yikes Regards John Scott IBM Certified Specialist - MQSeries Argos Ltd -Original Message- From: Francois Van der Merwe1 [mailto:[EMAIL PROTECTED] Sent: 05 December 2003 08:24 To: [EMAIL PROTECTED] Subject: How to fix invalid XML with broker Using WBIMB V5 fixpack 2 I've got the following invalid xml flowing into the broker: ?xml version=1.0 encoding=UTF-8? Header Info1 Something /Info1 Info2 Something else /Info2 /Header ?xml version=1.0 encoding=UTF-8? DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail So, from above, the XML is invalid. I need to change it with the broker to: ?xml version=1.0 encoding=UTF-8? Yikes Header Info1 Something /Info1 Info2 Something else /Info2 /Header DaDetail Record NameGroot Kokkedoor /Name Salary 1000/Salary /Record Record NameNelson /Name Salary 100/Salary /Record /DaDetail /Yikes Any ease way to do this? Thanks Francois van der Merwe Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert Developer IBM, Cape Town, South Africa +27 (0)82 556 9467 / +27 (0)21 402 5597 [EMAIL PROTECTED] 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 *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. 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 *** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using the reply facility in your e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. Instructions for managing your mailing list subscription are provided in the
Re: ms03 on MQ5.3 on Win2k problem
Benjamin, Wayne Schutz made some improvements to the code to better display and identify damaged objects. Make sure you have the latest version. The newest version includes compiled executables for Windows and has both the original version and a client version of the program. -- T.Rob -Original Message- From: Benjamin F. Zhou [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:56 AM To: [EMAIL PROTECTED] Subject: ms03 on MQ5.3 on Win2k problem Hi, when we run saveqmgr compiled for v5.3 on one of our Win2K boxes with MQ5.3, we got the following message: . Queue definitions written to qmgr.mqs Skipping dynamic queue QMGR.REPLY.3FAC799201780120 Skipping dynamic queue SAVEQMGR.3FAC799201790120 Got bad PCF response message Type = 2 StrucLength = 36 Version = 1 Command = 13 MsgSeqNumber = 24 Control = 0 CompCode = 2 Reason = 2101 ParameterCount = 1 The RC 2101 means OBJECT_DAMAGED. But I can't figure out which one. Has anyone experienced this before? Is there a way to check each individual objects within a queue manager for damage? thanks for any idea. Benjamin F. Zhou Messaging Integration Mercedes-Benz USA x.2474 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
setting up MQ environment on windows for Perl
I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: Windows MQ Monitoring with Mercury Site Scope
BDY.RTF Description: RTF file
Re: setting up MQ environment on windows for Perl
Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
THis is not good news BUT...I tried and was having problems with the make files to build the environment. I eventually dropped the attempt as someone provided what I needed in REXX. If you get it running let me know. You will need a supported C compiler to run the makefiles. bobbee From: Daniel Graper [EMAIL PROTECTED] Reply-To: MQSeries List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl Date: Fri, 5 Dec 2003 11:11:12 -0500 I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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 _ Take advantage of our best MSN Dial-up offer of the year six months @$9.95/month. Sign up now! http://join.msn.com/?page=dept/dialup 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
Re: setting up MQ environment on windows for Perl
T.Rob: Please forgive my 'swiss cheese' knowledge of this. The latest version would be the 'MQSeries-1.21.tar.gz' ? I have this and unzipped it. When I try to follow the install instructions, they say: This module installs much like anything else available on CPAN. perl Makefile.PL make make test make install I ran the first Perl step but the 'make' commands come up as unrecognized. Some other internet colleagues has said that I need to have Micorsoft visual C on my workstation to install. I have the visual studio on a laptop at home so I was going to try this tonight. I am not clear on what a build actually is. Is this part of the install that takes place when you run the make commands? Dan [EMAIL PROTECTED] 12/5/2003 12:28:39 PM Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
TRob, Thanks too. bobbee From: Wyatt, T. Rob [EMAIL PROTECTED] Reply-To: MQSeries List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl Date: Fri, 5 Dec 2003 08:41:56 -0800 Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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 _ Browse styles for all ages, from the latest looks to cozy weekend wear at MSN Shopping. And check out the beauty products! http://shopping.msn.com 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
Compiling exits on HPUX
The manual says that to compile an exit on HPUX, use these commands: $ c89 -c +z +e exit.c $ ld -o exit exit.o +b : -c exit.exp +IMQStart +eMQStart -b Problem is that the -c parm means to read ld options from a file. IBM listed a file exit.exp but not the contents of the file. I can compile and link my exit with no errors but MQ complains that it is not a valid exit. The exact same code compiles and runs on Solaris OK. Does anybody have a known working compile/link command for exits (not executables) on HPUX? Any suggestions? Thanks in advance -- T.Rob 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
Re: setting up MQ environment on windows for Perl
Dan, What C/C++ compiler are you using? I could not get it working with Cygwin. Ian Wyatt, T. Rob [EMAIL PROTECTED] Sent by: MQSeries List [EMAIL PROTECTED] 12/05/2003 11:28 AM Please respond to MQSeries List To:[EMAIL PROTECTED] cc: Subject:Re: setting up MQ environment on windows for Perl Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
Ian: I am going to try the C compiler in the visual studio suite of tools... wish me luck [EMAIL PROTECTED] 12/5/2003 12:49:22 PM Dan, What C/C++ compiler are you using? I could not get it working with Cygwin. Ian Wyatt, T. Rob [EMAIL PROTECTED] Sent by: MQSeries List [EMAIL PROTECTED] 12/05/2003 11:28 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: Subject:Re: setting up MQ environment on windows for Perl Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
When I was trying this and I had exchanged EMAILs with the current developer who is mentioned in the README.txt file he said that it was compileable under Visual Studio. The problem I had, which I indicated before, was the actual makfile had a syntax error in it that I could not get around. bobbee From: Daniel Graper [EMAIL PROTECTED] Reply-To: MQSeries List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl Date: Fri, 5 Dec 2003 13:05:11 -0500 Ian: I am going to try the C compiler in the visual studio suite of tools... wish me luck [EMAIL PROTECTED] 12/5/2003 12:49:22 PM Dan, What C/C++ compiler are you using? I could not get it working with Cygwin. Ian Wyatt, T. Rob [EMAIL PROTECTED] Sent by: MQSeries List [EMAIL PROTECTED] 12/05/2003 11:28 AM Please respond to MQSeries List To: [EMAIL PROTECTED] cc: Subject:Re: setting up MQ environment on windows for Perl Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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 _ Tired of slow downloads and busy signals? Get a high-speed Internet connection! Comparison-shop your local high-speed providers here. https://broadband.msn.com 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
Re: setting up MQ environment on windows for Perl
Give this a try. The nmake test may skip some tests but the the software still seems to work. C:\MQ_PER~1\MQSERI~1.20ls C:\MQ_PER~1\MQSERI~1.20\*.* .exists [t.in] [.options] [util] [blib] Changes.html [examples] Changes.src [include] CONFIG [MQClient] COPYRIGHT [MQSeries-Message-DeadLetter] LICENSE [MQSeries-Message-PCF] Makefile [MQSeries-Message-RulesFormat] Makefile.PL [MQSeries-OAM] MANIFEST [MQSeries-PubSub] MQSeries.pm [MQSeries] pm_to_blib [MQServer] README [pre.in]README.html 253952 (228917) bytes in 13 files C:\MQ_PER~1\MQSERI~1.20 C:\MQ_PER~1\MQSERI~1.20echo %path% . . . C:\Perl\bin\; C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT; C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin; C:\Program Files\Microsoft Visual Studio\Common\Tools; C:\Program Files\Microsoft Visual Studio\VC98\bin C:\MQ_PER~1\MQSERI~1.20echo %lib% C:\Program Files\IBM\WebSphere MQ\tools\lib; C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib; C:\Program Files\Microsoft Visual Studio\VC98\lib C:\MQ_PER~1\MQSERI~1.20echo %include% C:\Program Files\IBM\WebSphere MQ\tools\c\include; C:\Program Files\IBM\WebSphere MQ\tools\cplus\include; C:\Program Files\Microsoft Visual Studio\VC98\atl\include; C:\Program Files\Microsoft Visual Studio\VC98\mfc\include; C:\Program Files\Microsoft Visual Studio\VC98\include edit the CONFIG file according to your configuration C:\MQ_PER~1\MQSERI~1.20perl Makefile.PL C:\MQ_PER~1\MQSERI~1.20nmake test C:\MQ_PER~1\MQSERI~1.20nmake install Good luck! -Original Message- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Daniel Graper Sent: Friday, December 05, 2003 10:11 To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Re: setting up MQ environment on windows for Perl
Dan, I have successfully done this on Windows NT and 2000 using VC++ and later Visual Studio.NET's C compiler. Change make to nmake and it should work. Assuming you have the same version of Perl across several Windows machines, once you build the module you can install it on other servers/workstations just by copying the files over. The files to copy would be: perl install/site/lib/MQSeries.pm perl install/site/lib/MQClient (Folder contents) perl install/site/lib/MQSeries (Folder contents) perl install/site/lib/MQServer (Folder contents) Plus the ones everyone forgets... perl install/site/lib/auto/MQSeries (Folder contents) perl install/site/lib/auto/MQServer (Folder contents) The build is a series of steps that configure the module (perl Makefile.pl); extract, compile and install the module in a staging directory (nmake); test the success of the build (nmake test); and finally, install the module where Perl will find it at run-time (nmake install). The reason all this is necessary is that there are hundreds of possible combinations of compatible Perl versions and compatible MQSeries libraries. The nmake step builds the glue files that connect your version of Perl to your installed version of MQ by compiling the C header files (cmqc.h, etc.). The compiler is required because you are crossing over from Perl to native C calls. Since building the module on Windows is so pesky, we invested in the Active State's Perl Dev Kit. This lets us compile our scripts into stand-alone programs that can be distributed to servers without having to install Perl, build the module, etc. -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:43 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Please forgive my 'swiss cheese' knowledge of this. The latest version would be the 'MQSeries-1.21.tar.gz' ? I have this and unzipped it. When I try to follow the install instructions, they say: This module installs much like anything else available on CPAN. perl Makefile.PL make make test make install I ran the first Perl step but the 'make' commands come up as unrecognized. Some other internet colleagues has said that I need to have Micorsoft visual C on my workstation to install. I have the visual studio on a laptop at home so I was going to try this tonight. I am not clear on what a build actually is. Is this part of the install that takes place when you run the make commands? Dan [EMAIL PROTECTED] 12/5/2003 12:28:39 PM Dan, The MA89 just points to CPAN. Hopefully, you've got the latest version of the Perl module from there - 1.21 I think. I would definitely update the client, though. Still, those things have little bearing on the build. Where is the build failing? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Re: setting up MQ environment on windows for Perl T.Rob: Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client 5.2.1 and the MQ Perl pac of MA89. Dan Daniel John Graper Software Engineer Wyeth Pharmaceuticals [EMAIL PROTECTED] 12/5/2003 11:41:56 AM Dan, To make this work, I had to set the INCLUDE and LIB environment vars to point to the mq install dir/Tools/C/Include and mq install dir/Lib, respectively. You may need to log off and back on for these to take effect. When you open a DOS prompt, do a set command and make sure you see the folders listed. Once I had my environment vars set I was able to build the module using nmake (from Microsoft's Visual Studio). Even though the nmake test always failed, my programs would run correctly. Which versions of Windows, Perl and MQSeries module are you working with? -- T.Rob -Original Message- From: Daniel Graper [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:11 AM To: [EMAIL PROTECTED] Subject: setting up MQ environment on windows for Perl I need to write a Perl script to run on my windows workstation that will access MQ message queues. I has dowloaded the Perl interpreter and installed the MQ client but am having some challenges installing the MQ perl libraries. Has anyone out there installed the MA89 MQ modules for windows before? thanks, Dan 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
Using the channel Disconnect interval parm
Hi - a few years back when we were first getting into MQ, we had many issues with our channels between our mainframe qmgrs and our dist qmgrs. In dealing with IBM, we settled on setting our Disconnect interval to 60 seconds everywhere and our Heartbeat interval to 15 seconds. Now that we are at v5 everywhere, I've heard that it might be better to not time the channels out and just leave them up all the time - overhead savings, etc. Any thoughts 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