Re: Triggered sh/ksh Script
Bobbee- Maybe this is what you are looking for. #!/bin/ksh TriggerMessage=$1 StrucId=`echo "$TriggerMessage" | cut -c 1-4` Version=`echo "$TriggerMessage" | cut -c 5-8` QName=`echo "$TriggerMessage" | cut -c 9-56` ProcessName=`echo "$TriggerMessage" | cut -c 57-104` TriggerData=`echo "$TriggerMessage" | cut -c 105-168` ApplType=`echo "$TriggerMessage" | cut -c 169-172` ApplId=`echo "$TriggerMessage" | cut -c 173-428` EnvData=`echo "$TriggerMessage" | cut -c 429-556` UserData=`echo "$TriggerMessage" | cut -c 557-684` QMgrName=`echo "$TriggerMessage" | cut -c 685-732` Thanks. Chad Robert Broderick <[EMAIL PROTECTED]To: [EMAIL PROTECTED] OTMAIL.COM> cc: Sent by: MQSeries Subject: Triggered sh/ksh Script List <[EMAIL PROTECTED] .AC.AT> 06/17/2004 16:19 Please respond to MQSeries List Anybody have a copy of a sh/ksh script that is triggered and handles the TM2 passed data area I want to extract the Triggered Queue name. bobbee _ Check out the coupons and bargains on MSN Offers! http://youroffers.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 This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments. 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: AS400 Queue Manager Recognition
Lynn, David, and Rick- Thanks for your responses. Your comments were exactly what I was looking for. Chad Lynn Nelson <[EMAIL PROTECTED]To: [EMAIL PROTECTED] .COM>cc: Sent by: MQSeriesSubject: Re: AS400 Queue Manager Recognition List <[EMAIL PROTECTED] n.AC.AT> 04/06/2004 08:20 Please respond to lynn.nelson Hi Chad, I have used the IFS to determine all the queue managers on the system, however this method will return all of them, both active and inactive. I use the CVTIFS command (which is a TAATOOL utility you may or may not have) to convert the QMGRS folder to a file and then process the file (skipping records for "&SYSTEM", etc.). Once you have the name of the QMgr you can probably determine if it is active by doing a DSPMQM for it and monitoring for an error indicating that the QMgr is not active. If you have TAATOOL and you're interested in the CL source program that determines all QMgrs, let me know. Another option, which can determine if a QMgr is active or not, is to use the QMgr's qmstatus.ini file. The QueueManagerStatus stanza shows the current status. However, I don't think you can do that easily with a CL program. It would be simpler with a high-level language. Lynn -Original Message- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Chad P. Little Sent: Monday, April 05, 2004 2:29 PM To: [EMAIL PROTECTED] Subject: AS400 Queue Manager Recognition I am attempting to create a generic CL program for journal receiver maintenance to use on multiple servers. To pass the appropriate parameters to commands, I need to determine all queue manager names currently in RUNNING (ACTIVE) state on the server and their queue manager library names. I have yet to determine how to capture those values within a CL program. Any help is greatly appreciated. Thanks. Chad This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments. 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 This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments. 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
AS400 Queue Manager Recognition
I am attempting to create a generic CL program for journal receiver maintenance to use on multiple servers. To pass the appropriate parameters to commands, I need to determine all queue manager names currently in RUNNING (ACTIVE) state on the server and their queue manager library names. I have yet to determine how to capture those values within a CL program. Any help is greatly appreciated. Thanks. Chad This transmission is intended only for use by the intended recipient(s). If you are not an intended recipient you should not read, disclose, copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments. 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: MQ 5.2 on HPUX 11i
MQ 5.2 CSD04 "Thomas, Don" <[EMAIL PROTECTED]To: [EMAIL PROTECTED] OM> cc: Sent by: MQSeriesSubject: Re: MQ 5.2 on HPUX 11i List <[EMAIL PROTECTED] n.AC.AT> 08/20/2003 09:59 AM Please respond to MQSeries List Thanks Chad, that's exactly the kind of information I was looking for. What CSD level is your MQ installation at? Don Thomas EDS - PASC * Phone: +01-412-893-1659 Fax: 412-893-1844 * mailto:[EMAIL PROTECTED] -Original Message- From: Chad P. Little [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 9:13 AM To: [EMAIL PROTECTED] Subject: Re: MQ 5.2 on HPUX 11i Don- We have 5.2 running on HP 11i and didn't see any issues until the HP Cumulative Patch Bundle June 2003 was loaded. Once loaded, the symptoms we encountered consisted mainly of the inability for MQ Series to start a receiver channel. All other MQ Series functions seemed to work fine and a manual start of runmqlsr did allow a receiver channel to start. The problem occurred when inetd is configured to start amqcrsta which in turns starts runmqchl via /etc/inetd.conf and /etc/services. The fix ended up being a "patch" from HP. The description from the System Administrator for the box in question is listed below. Hope this helps! "The HP server was being updated with the HP Cumulative Patch Bundle June 2003. This bundle consists of GOLDQPK11i (which contains GOLDBASE11i and GOLDAPPLS11i) and HWEnable11i. The /usr/lib/libc.2 library was updated and caused the CA-7 Agent to fail. Initially; workaround was implemented by relinking libc.2 library to /usr/lib/pa11_32/libc.2. This workaround fixed CA-7 problem and made the MQSeries appear to be functional on the HP agent server. When it was discovered MQSeries was having problems connecting between the host AIX machine and HP agent machine; the workaround was backed off, CA-7 patch QO31829 applied, kernel rebuilt with CA RebuildUX utility, and server rebooted. This procedure appears to have fixed the problem. Reference HP DocID: UCMDSKBRC00012513 Updated : 5/27/03 Pid received a SIGSEGV for stack growth failure. CA patch info: http://support.ca.com/techbases/tng/tngem-unix.html"; Chad "Thomas, Don" <[EMAIL PROTECTED]To: [EMAIL PROTECTED] OM> cc: Sent by: MQSeriesSubject: MQ 5.2 on HPUX 11i List <[EMAIL PROTECTED] n.AC.AT> 08/19/2003 02:01 PM Please respond to MQSeries List Is anyone running MQ 5.2 on HPUX 111. I've currently got it running on HPUX11, but the system admin wants to upgrade to HPUX11I. Has anyone done this? Don Thomas EDS - PASC * Phone: +01-412-893-1659 Fax: 412-893-1844 * mailto:[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 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: MQ 5.2 on HPUX 11i
Don- We have 5.2 running on HP 11i and didn't see any issues until the HP Cumulative Patch Bundle June 2003 was loaded. Once loaded, the symptoms we encountered consisted mainly of the inability for MQ Series to start a receiver channel. All other MQ Series functions seemed to work fine and a manual start of runmqlsr did allow a receiver channel to start. The problem occurred when inetd is configured to start amqcrsta which in turns starts runmqchl via /etc/inetd.conf and /etc/services. The fix ended up being a "patch" from HP. The description from the System Administrator for the box in question is listed below. Hope this helps! "The HP server was being updated with the HP Cumulative Patch Bundle June 2003. This bundle consists of GOLDQPK11i (which contains GOLDBASE11i and GOLDAPPLS11i) and HWEnable11i. The /usr/lib/libc.2 library was updated and caused the CA-7 Agent to fail. Initially; workaround was implemented by relinking libc.2 library to /usr/lib/pa11_32/libc.2. This workaround fixed CA-7 problem and made the MQSeries appear to be functional on the HP agent server. When it was discovered MQSeries was having problems connecting between the host AIX machine and HP agent machine; the workaround was backed off, CA-7 patch QO31829 applied, kernel rebuilt with CA RebuildUX utility, and server rebooted. This procedure appears to have fixed the problem. Reference HP DocID: UCMDSKBRC00012513 Updated : 5/27/03 Pid received a SIGSEGV for stack growth failure. CA patch info: http://support.ca.com/techbases/tng/tngem-unix.html"; Chad "Thomas, Don" <[EMAIL PROTECTED]To: [EMAIL PROTECTED] OM> cc: Sent by: MQSeriesSubject: MQ 5.2 on HPUX 11i List <[EMAIL PROTECTED] n.AC.AT> 08/19/2003 02:01 PM Please respond to MQSeries List Is anyone running MQ 5.2 on HPUX 111. I've currently got it running on HPUX11, but the system admin wants to upgrade to HPUX11I. Has anyone done this? Don Thomas EDS - PASC * Phone: +01-412-893-1659 Fax: 412-893-1844 * mailto:[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 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
Receiver Channel Issues with HP-UX 11i Version 1 Support Plus Quality Pack Bundle June 2003
Title: Message We encountered an issue with MQ Series 5.2 CSD04 after the upgrade of HP-UX 11.11 to the Cumulative Patch Level June 2003. The receiver channel (on the HP box) will not start upon initiation from the sending queue manager. The FDC created on the sending queue manager contains the data listed below in the Dump of Transmission Segment Header which is the error returned by the destination system. Has anybody else loaded this HP 11.11 cumulative patch level yet? Anybody have any ideas for a fix? 2027b3a0 2F757372 2F6C6962 2F646C64 /usr/lib/dld2027b3b0 2E736C3A 2043616E 27742073 686C5F6C .sl: Can't shl_l2027b3c0 6F616428 29206120 6C696272 61727920 oad() a library2027b3d0 636F6E74 61696E69 6E672054 68726561 containing Threa2027b3e0 64204C6F 63616C20 53746F72 6167653A d Local Storage:2027b3f0 202F7573 722F6C69 622F6C69 62632E32 /usr/lib/libc.22027b400 0A2F7573 722F6C69 622F646C 642E736C ./usr/lib/dld.sl2027b410 3A204578 65632066 6F726D61 74206572 : Exec format er2027b420 726F720A 54534820 0084 0101 ror.TSH Thanks. Chad Little
Re: Queue service-interval-events
Can't you insert a sleep for 35 seconds at the beginning of the triggered program? If the triggered program is not "yours," create a bat file that first sleeps for the specified time and then calls the destination program. Chad Little MQ Administrator Sara Lee Business Services Direct (336) 519-2887 [EMAIL PROTECTED] "Hill, Dave" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: MQSeriescc: List Subject: Re: Queue service-interval-events 02/05/2003 10:33 Please respond to MQSeries List Bruce I'm not sure what I'm trying to do either. What I would like to do is get a trigger event timed to say 35 seconds between first arival and trigger. -Original Message- From: Bruce Giordano [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 10:12 AM To: [EMAIL PROTECTED] Subject: Re: Queue service-interval-events I'm not sure I understand what you're trying to do. We use the service interval events to generate an alert if messages aren't being read off a queue in a timely fashion. The thing is, you really need to look at the Event Monitoring Guide for an explanation of how the service interval events work. They may not work the way you'd like them to. For example, the service interval is only checked following an MQGET or MQPUT call. This means if there is very low activity on the queue, you might have a message sitting on the queue for hours but you won't get a service interval high event until a second message arrives on the queue. - Bruce Giordano "Hill, Dave" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent by: MQSeries List cc: <[EMAIL PROTECTED]> Subject: Queue service-interval-events Wednesday February 5, 2003 09:25 AM Please respond to MQSeries List Service timer? I have not used this but feel I may have a need to implement it. Is anyone using this and if so what were the reasons for doing so? I need to delay a trigger event on a WIN2000 server(s) so is this the way to do it? Does anyone have any suggestions? Does anyone know why people try to use PCs as mainframes? TIA Dave 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