Author |
Message
|
PaulClarke |
Posted: Thu Oct 05, 2006 2:07 am Post subject: SupportPac MO03 Update : Version 1.3 |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
|
Back to top |
|
 |
George Carey |
Posted: Mon Aug 10, 2009 11:16 am Post subject: Latest version of Mo03 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Is this link, still the link to latest version of this support pac ??
I am reading a MO03 Readme and trying to use some filename suffix options,
e.g. %c and %t and they are not working ... so I am guessing my manual does not sync up with my downloaded version of the support pac.
Also with the MQRFH2 format used for JMS is there a nice switch the would give an XML node tree-like dump of the variable section of this format.
I don't see any such switch so I guess not(at this time ).
GTC _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
George Carey |
Posted: Mon Aug 10, 2009 3:32 pm Post subject: ma01 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
I believe I am mixing up the QLOAD and Q utilities
MA01 and Mo03 .... now that I am looking at this again.
Can MA01 the Q utility use some of these file extension options ?? _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Aug 12, 2009 2:46 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
I'm not entirely sure what you mean by file suffix but I think the answer is 'no'. MO03 is all about unloading/reloading queues and its useful to have the filename constructed/modified - for example by date.
MA01 on the other hand is not really designed as queue loader. It's more as a one off type usage when it comes to files.
Was there something specific that you needed ? _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
George Carey |
Posted: Wed Aug 12, 2009 10:17 am Post subject: date suffix |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Yes the date suffix %c .... I was reading manual which I thought was for Q but was really I believe now the QLOAD manual that had a date and time stamp suffix foo_%c_%t for example.
I typed in q and <cr> to get parameters prompted to me and was trying some of the parameters but with the %c and %t appended to the output file name as well and realized I was mixing and matching the parameters of two different utilities. (Q and QLOAD)
There is an error queue I wish to clean off of JMS messages and wanted date and time stamp as well ... using the q utilitiy, but I guess I can only use the qload utility to do that.
You can use QLOAD to clean off a Queue as well, however, correct ??
As an aside I had also wondered:
If a queue message that had a JMS MQRFH2 format as well as the payload being an XML format could have parameter(s) set so they were dumped to screen or file in a proper XML node tree format (like a browser or XMLspy does)
regards,
GTC _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Aug 13, 2009 1:36 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Hi,
Yes, you can use QLOAD to offload messages from a queue. In fact, in my view, it is much more suited to the task than Q is. Q is very light on queue to file operations, it's not what it's there for.
If a queue message that had a JMS MQRFH2 format as well as the payload being an XML format could have parameter(s) set so they were dumped to screen or file in a proper XML node tree format (like a browser or XMLspy does
Sorry, I don't know what you mean by this. Could you elaborate please ?
Cheers,
P. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
George Carey |
Posted: Thu Aug 13, 2009 6:53 am Post subject: new code |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
It would be a program enhancement request (new code).
The MQRFH2 folders for JMS messages are essentially XML like, and most messages thrown around these days using JMS are XML payload messages.
The output to the screen from Q depending on the output options chosen ... basically just gives continuous (wrapping) string output like this:<root_element attr1="foo"><child1>name</child1><child2>address</child2>...</root_element> and the like.
It would be nice to get the elements in (element/node tree) output like this:
<root_element attr1="foo">
......<child1>name</child1>
......<child2>address</child2>
......<etc>
......<childn>
..............<sub_childn>
.......<etc>
..............</sub_childn>
......</childn>
.......<etc>
</root_element>
likewise with the JMS folders. It is just an ease of viewing/reading request without having to use other tools. (note the ... would be spaces but this forum tool strips leading spaces off.)
That is all I am talking about. _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Aug 13, 2009 7:02 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Hi,
It surprises me you say Q can't output the XML in a formatted way.
Have you tried options -df and -dfx ?
Cheers,
P. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
George Carey |
Posted: Thu Aug 13, 2009 7:17 am Post subject: df dfx |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
I have not ... as I say I was mixing up the manuals
If you already have done this ...
apologies for wasting your time.
Regards,
GTC _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
PaulClarke |
Posted: Fri Aug 14, 2009 12:38 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
No apology necessary I know just how hard it can be keeping track of these things and the usability of MA01 could certainly be better. The idea of a single program called in many different ways was great at the beginning but the number of options now is getting pretty huge.
To be honest I don't know for certain whether I have done what you're asking for or not because I'm not entirely certain what you're after. Have a play with the options and let me know if you think anything further ought to be added.
Cheers,
P. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
|