Author |
Message
|
mqjeff |
Posted: Wed Oct 07, 2015 5:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
An output similar to the one from dmpmqcfg would be nice.
What I am thinking about here is being able to run a diff against a file produced by dmpmqcfg....
Doesn't matter if the commented out headers are a different... |
You mean a 1-line/2-line output.
I'm not actually planning on playing around with results data. At least not for this feature. _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
mqjeff |
Posted: Wed Oct 07, 2015 5:15 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
vennela wrote: |
mqjeff wrote: |
Vitor's slaps will just be words, and remember that words will never hurt you...
. |
Are you sure about that |
I was taught that words will never hurt you in elementary school. I agree it's not that easy sometimes... But the only way Vitor's slaps will be anything other than words is if you are already unfortunate enough to work with him in person... _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
Vitor |
Posted: Wed Oct 07, 2015 5:56 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
if you are already unfortunate enough to work with him in person... |
You know who you are. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
|
mqjeff |
Posted: Wed Oct 07, 2015 9:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqjeff wrote: |
fjb_saper wrote: |
An output similar to the one from dmpmqcfg would be nice.
What I am thinking about here is being able to run a diff against a file produced by dmpmqcfg....
Doesn't matter if the commented out headers are a different... |
You mean a 1-line/2-line output.
I'm not actually planning on playing around with results data. At least not for this feature. |
Let me add a slight comment/amendment to this.
I misread this. It's talking about formatting an existing MQSC file to match the 1-line output from dmpmqcfg, in order to do a diff.
I'll look at this. But it's not strictly necessary, as you could import the dmpmqcfg output into MQExplorer, format that, and then do the diff.
Alternately, you could do the format on the source in MQExplorer, export it do a replace of "+/n/s+" or "-/n" with "", and then do the diff.
But again, I'll look into it. _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
fjb_saper |
Posted: Wed Oct 07, 2015 11:48 am Post subject: |
|
|
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
Nice to see you're looking into 1 line as well.
I was just thinking about the plain output (1 attribute per line)...
Having the ability to easily diff the output before applying it may help a lot.
I was thinking here about an output from dmpmqcfg that does not use all attributes .i.e. only the ones different from the default appear.
This should closely match any kind of script that you are going to apply...
Hence the possibility for a diff...
Thanks _________________ MQ & Broker admin |
|
Back to top |
|
|
gbaddeley |
Posted: Wed Oct 07, 2015 3:56 pm Post subject: |
|
|
Jedi
Joined: 25 Mar 2003 Posts: 2495 Location: Melbourne, Australia
|
bruce2359 wrote: |
... and retain compatibility with MQ for z/OS 80-character record limitation thingie? |
80 columns is kind of nice for UNIX too, as its the screen width for many basic terminal types. However, there are many attributes that can be more than 80 chars. TOPICSTR is an extreme example, 10240. _________________ Glenn |
|
Back to top |
|
|
mqjeff |
Posted: Thu Oct 08, 2015 5:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
gbaddeley wrote: |
bruce2359 wrote: |
... and retain compatibility with MQ for z/OS 80-character record limitation thingie? |
80 columns is kind of nice for UNIX too, as its the screen width for many basic terminal types. However, there are many attributes that can be more than 80 chars. TOPICSTR is an extreme example, 10240. |
Right - but + and - can occur at any point in the MQSC string, and are interpreted that way.
That is, you can break an MQSC line in the middle of the value of TOPICSTR without affecting how that value is processed. _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
|