Author |
Message
|
pcouas |
Posted: Tue Sep 06, 2011 12:39 am Post subject: Mqmon user data field into trigger Popup |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi,
Could i use "User Data" field from Trigger popup into MQMON tools to add arguments if "Environnement Data" field is Full ?
Regards
Philippe |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Sep 06, 2011 1:50 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
i dont think so. or even if, it depends on plattform and trigger monitor used.
whatever you add in this attribute is passed to the trigger monitor in the proper data structures (mqtm*, see application programmers reference).
you must make sure the trigger monitor uses this data the way you want it. there is a section about the trigger monitors in the application programmers guide that also describes how the data passed is used.
what happens if you try? _________________ Regards, Butcher |
|
Back to top |
|
 |
pcouas |
Posted: Tue Sep 06, 2011 8:42 pm Post subject: |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi,
I have an sh script and aprameters are in Environnement Data field, when i add parameters into users data . I could see first sh parameter with all comand line with shname, QueueManagerName and all parameters Environnement Data + User Data.
I use Solaris10
Regards
Philippe |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Sep 06, 2011 10:57 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
i have lots of sh scripts too, and so do others (will say "dont understand your post at all")
what is this script for? what exactly do you see? and if you see what you expect to see, why do you ask? does it work or not? _________________ Regards, Butcher |
|
Back to top |
|
 |
pcouas |
Posted: Wed Sep 07, 2011 2:53 am Post subject: |
|
|
Voyager
Joined: 06 Sep 2011 Posts: 79
|
Hi,
In MQMON Trigger Popup in field "Application" i have an personal shell script.
This script use parameter from field "Environnement Data", this field isnt largest for all my parameters, so i want use "User Data" field.
Could i use it for my shell parameters ?
It seems me i could pass argument comming from "User Data" field, but i am not sure.
MQ is running on Solaris and Linux.
Regards
Philippe |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 07, 2011 3:58 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Are you asking if it's possible to do this?
Or are you asking if it is a good idea to do this?
The default trigger monitor puts everything that is put into an MQTMC structure in the trigger message on the XMITQ into an MQTMC2 structure that it passes on the command line to the triggered program that it starts.
IF you are using the default trigger monitor, then that tells you everything you need to know about whether it's possible to do this or not. |
|
Back to top |
|
 |
|