Author |
Message
|
gbaddeley |
Posted: Tue Dec 01, 2009 3:45 pm Post subject: Announcing SupportPac MA0Z WMQ Channel Message Logger V1.0.0 |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Version 1.0.0 of my new SupportPac MA0Z has been released at http://www.ibm.com/support/docview.wss?uid=swg24022993
Abstract
This SupportPac allows MQ messages to be recorded to disk files in real time as they are transported across MQ channels by Queue Managers and Client applications. _________________ Glenn |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Dec 02, 2009 5:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I got to see a preview of this.
It's very cool. |
|
Back to top |
|
 |
hal |
Posted: Mon Dec 07, 2009 8:58 am Post subject: |
|
|
Acolyte
Joined: 07 Dec 2005 Posts: 67 Location: New York City, New York
|
Glenn, Please add Solaris SPARC binaries. Thanks. |
|
Back to top |
|
 |
gbaddeley |
Posted: Mon Dec 07, 2009 2:36 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
hal wrote: |
Glenn, Please add Solaris SPARC binaries. Thanks. |
Hi Hal. I already have several requests for Solaris SPARC support. This will be added to the next version in early 2010. Watch this space. _________________ Glenn |
|
Back to top |
|
 |
KxK3 |
Posted: Wed Dec 16, 2009 12:11 pm Post subject: |
|
|
 Newbie
Joined: 01 Apr 2008 Posts: 6
|
Very cool tool indeed.
I have a quick question, the tool logs MQ Put Message Options as
MQPMO: Options=x4200000
Is there a way to determine the put message options from this number? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Dec 16, 2009 12:13 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
WMQ Constants manual. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
jcv |
Posted: Fri Dec 18, 2009 10:02 am Post subject: |
|
|
 Chevalier
Joined: 07 May 2007 Posts: 411 Location: Zagreb
|
Glenn, if it is configured as send exit on a sender channel, does that present to MA0Z a handled exception or supported setup (according to documentation I'd say it's not supported)? |
|
Back to top |
|
 |
jcv |
Posted: Sat Dec 19, 2009 1:48 am Post subject: |
|
|
 Chevalier
Joined: 07 May 2007 Posts: 411 Location: Zagreb
|
That may present no exception at all.
But I'm receiving XC130003 with SIGSEGV from runmqchl_nd, channel stops and loses a message which normally passes through (when there is no exit). Looking at the log I see it tries to write abnormal amount (and content) of message data, definitely not that was intended by the application which produces messages. I guess message buffer was not properly terminated by app, and I used LO 3. Without further speculation where did I go wrong, are you interested in FDC's and the exit log? |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Dec 20, 2009 7:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
jcv wrote: |
That may present no exception at all.
But I'm receiving XC130003 with SIGSEGV from runmqchl_nd, channel stops and loses a message which normally passes through (when there is no exit). Looking at the log I see it tries to write abnormal amount (and content) of message data, definitely not that was intended by the application which produces messages. I guess message buffer was not properly terminated by app, and I used LO 3. Without further speculation where did I go wrong, are you interested in FDC's and the exit log? |
The exit will log messages if is defined as a msg, send or recv exit. I see you are using it on a CLNTCONN or SVRCONN channel. Please email a description of the environment at both ends of the channel (O/S, hardware, MQ version), the channel definition at the exit side, the entire FDC file and most recent few lines of the exit log to the email address given in the User Guide. I will look at the problem when I get back from leave on 11 Jan 2010.
Quote: |
I have a quick question, the tool logs MQ Put Message Options as
MQPMO: Options=x4200000
Is there a way to determine the put message options from this number? |
The options are listed in MQ header file cmqc.h :
Code: |
#define MQPMO_SYNCPOINT 0x00000002
#define MQPMO_NO_SYNCPOINT 0x00000004
#define MQPMO_DEFAULT_CONTEXT 0x00000020
#define MQPMO_NEW_MSG_ID 0x00000040
#define MQPMO_NEW_CORREL_ID 0x00000080
#define MQPMO_PASS_IDENTITY_CONTEXT 0x00000100
#define MQPMO_PASS_ALL_CONTEXT 0x00000200
#define MQPMO_SET_IDENTITY_CONTEXT 0x00000400
#define MQPMO_SET_ALL_CONTEXT 0x00000800
#define MQPMO_ALTERNATE_USER_AUTHORITY 0x00001000
#define MQPMO_FAIL_IF_QUIESCING 0x00002000
#define MQPMO_NO_CONTEXT 0x00004000
#define MQPMO_LOGICAL_ORDER 0x00008000
#define MQPMO_ASYNC_RESPONSE 0x00010000
#define MQPMO_SYNC_RESPONSE 0x00020000
#define MQPMO_RESOLVE_LOCAL_Q 0x00040000
#define MQPMO_RETAIN 0x00200000
#define MQPMO_MD_FOR_OUTPUT_ONLY 0x00800000
#define MQPMO_SCOPE_QMGR 0x04000000
#define MQPMO_SUPPRESS_REPLYTO 0x08000000
#define MQPMO_NOT_OWN_SUBS 0x10000000 |
Your options are displayed in reverse byte order, so your problem most likely relates to big endian vs. little endian, and there is a bug in the exit. This also correlates with your observation "it tries to write abnormal amount (and content) of message data". _________________ Glenn |
|
Back to top |
|
 |
coolb |
Posted: Wed Jan 06, 2010 11:43 am Post subject: MA0Z Solaris Binaries |
|
|
Newbie
Joined: 06 Jan 2010 Posts: 2
|
Hi Glenn,
Do you have a projected release date for the MA0Z Solaries binaries? Thanks! |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Jan 06, 2010 7:17 pm Post subject: Re: MA0Z Solaris Binaries |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
coolb wrote: |
Hi Glenn,
Do you have a projected release date for the MA0Z Solaries binaries? Thanks! |
I can't make any promises, but the intention is end of Jan 2010 or first half of Feb 2010. _________________ Glenn |
|
Back to top |
|
 |
belchman |
Posted: Wed Feb 03, 2010 11:03 am Post subject: I get a warning I do not understand |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
I have it set up on the receiver side of an exchange from z/OS MQ v6.0+ to AIX MQ v6.0.+. I get...
"Warning: No action taken by exit, agent buffer header xE3E2C840 is not x54534820"
where I would expect to get something about the message...
My receive exit and receive data on the AIX receiver are currently set to
wmqcml64.so(wmqcml) - and-
LF=/tmp/mlivt.txt;LO=13,6;LC=1
respectively.
I am putting the message on z/OS MQ remote queue to AIX local queue via MQExplorer v7 'put message utility'
The AIX receiver exit reports...
2010-02-03 13:50:52.482 wmqcml64.so: Channel starts 'MQU1.HDB.QAQMAS' on 'QAQM1'
2010-02-03 13:50:52.490 wmqcml64.so: Transmission via 'MQU1.HDB.QAQMAS' on 'QAQM1'
Warning: No action taken by exit, agent buffer header xE3E2C840 is not x54534820
2010-02-03 13:50:52.490 wmqcml64.so: Transmission via 'MQU1.HDB.QAQMAS' on 'QAQM1'
Warning: No action taken by exit, agent buffer header xE3E2C840 is not x54534820
MQU1 = z/OS qmgr... QAQM1 = AIX qmgr...
What does warning mean? _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Feb 03, 2010 3:41 pm Post subject: Re: I get a warning I do not understand |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
belchman wrote: |
I have it set up on the receiver side of an exchange from z/OS MQ v6.0+ to AIX MQ v6.0.+. I get...
"Warning: No action taken by exit, agent buffer header xE3E2C840 is not x54534820"
.......What does warning mean? |
The exit on AIX did not understand a transmission from the z/OS MCA to the AIX MCA. It will be fixed in the next release. _________________ Glenn |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Feb 03, 2010 7:20 pm Post subject: Re: I get a warning I do not understand |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
gbaddeley wrote: |
belchman wrote: |
I have it set up on the receiver side of an exchange from z/OS MQ v6.0+ to AIX MQ v6.0.+. I get...
"Warning: No action taken by exit, agent buffer header xE3E2C840 is not x54534820"
.......What does warning mean? |
The exit on AIX did not understand a transmission from the z/OS MCA to the AIX MCA. It will be fixed in the next release. |
Should read: If its a bug then I will endeavour to fix it in the next release.
You mentioned Send and Receive exits. For SDR / RCVR channel pairs between queue managers, wmqcml should only be defined as a Message exit, not a Send or Receive exit.
wmqcml is only intended to be used as a Send or Receive exit on CLNTCONN or SVRCONN channels, so that it can log MQIC client transmissions.
HTH _________________ Glenn |
|
Back to top |
|
 |
belchman |
Posted: Thu Feb 04, 2010 4:54 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 386 Location: Ohio, USA
|
Glenn,
I call your exit via the Receive exit property and Receive exit user data properties of the receiver. The receiver is the AIX side of the exchange.
Let me look at your user guide again.
Thx[/img] _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
|