Behaviour changes in MQ V9.0.4 – CONNAUTH/CHLAUTH

UserID and PasswordIBM recently released it’s latest Continuous Delivery release (MQ V9.0.4). This has made some changes to the default behaviours for CONNAUTH and CHLAUTH. You can read all the new changes in V9.0.4 here, but I wanted to highlight a few I thought were very important.

Adopt Context is YES by default

From the introduction of Connection Authentication in IBM MQ V8, the default value of ADOPTCTX was NO. I am delighted to see that the default has now been changed to YES. This is probably the most common configuration problem we help customers with around the use of Connection Authentication. It’ll take a while to percolate through, because there are plenty of existing queue managers out there with ADOPTCTX(NO) but it will definitely improve things.

qm.ini ChlauthEarlyAdopt=Y is now the default

The qm.ini ChlauthEarlyAdopt attribute was added in IBM MQ V8 FixPack 5 to allow users to revert the behaviour back to the way it was prior to another change that was made – i.e. back to the designed IBM MQ V8 GA behaviour. I am very happy to see that IBM has now reverted this behaviour to be there by default for everyone.

Java clients use user ID and password in the same way as ‘C’ clients

Due to the historical use by the Java client of the FAP flow to send a user ID and password (as described in this blog post) a compatibility setting had to be provided at MQ V8 GA in case any Java Client connections into queue managers were relying on this behaviour for their security exits. This meant that Java clients and ‘C’ Clients operated differently by default. Now, as of V9.0.4, the Java client uses the MQCSP to send its user ID and password just as the ‘C’ client does and they both work the same way. This is very good news.

Advertisements

How to activity trace the MO71 application

MO71 utilises the MQCNO_ACTIVITY_TRACE_DISABLED option so that while using it to view activity trace records, you are not also generating even more! This is of course, only honoured if the queue manager allows it which is controlled by the queue manager attribute ACTVCONO. So in addition, the MO71 Activity trace viewer also has some quick check boxes to hide from view all its records should they be generated.

Inspect MO71What if you want to see the activity trace for MO71 though? For example if you want to trace the API Exerciser?

There are two ways to over-ride the use of MQCNO_ACTIVITY_TRACE_DISABLED. One is to use the following command (which applies the over-ride to all applications that have specified it).

ALTER QMGR ACTVCONO(DISABLED)

The other is to add a stanza like the following to your queue manager’s mqat.ini file. Remember if MO71 is already connected, you can make an alteration to the queue manager object to get it to pick up the new mqat.ini file or just disconnect and reconnect to the queue manager to pick it up.

# Turn on tracing for MO71
ApplicationTrace:
  ApplName=mqmonntp.exe
  Trace=ON

Now looking at the Activity Trace window, on the “Settings” tab, uncheck “Exclude this process” so you can see records from this process ID, and also “Exclude MO71 processes” which just causes the filtering for the “Output” tab to hide any records that come from any “mqmonntp.exe”. Remember to press Apply Settings once you’ve made these and any other filtering changes.

Activity Trace Settings Exclude Checkboxes

Activity Trace Settings Page – Check boxes to exclude MO71 trace records

Note: With these two check boxes, you could run one instance of MO71 to view the Activity Trace records, and a second instance of MO71 doing the activity you want to trace, for example using the API Exerciser, then you could leave “Exclude this process” checked and only uncheck “Exclude MO71 processes”.

It may also be wise to turn off any automatic operations that are being done by MO71, such as exporting objects on a scheduled time interval, which would generate a lot of activity from MO71 in the trace.

Then you’ll be able to see any API calls made by the MO71 application, for example:-

13:38:35   8220( 21) [   85us] C:\MQGem\mqmonntp.exe MQOPEN INPUT.Q 
MQOPEN(
   Connection Id:414D51434D514731202020202020202027E1F55920005205
   Hobj         :8 QUEUE(MQG1/INPUT.Q)
   Open Options :00000010
                 00000010 MQOO_OUTPUT                    (Output)
   Dynamic Queue:AMQ.*
   CompCode     :0    
   Reason       :0     OK.
  )

Other resources that you may find useful about Activity Tracing.

MQGem Monthly (October 2017)

MQGem Monthly Banner
VOLUME III. – No. 10. TUESDAY, 31 OCTOBER, 2017 PRICE: FREE

Welcome to the October edition of the MQGem Monthly Newsletter, bringing you company news from MQGem Software, information about the MO71, MQSCX, MQEdit, and QLOAD products, and interesting articles about IBM MQ.

News

This month IBM announced the latest Continuous Delivery (CD) release of IBM MQ V9 and an update to the MQ Appliance. MQ V9.0.4 will be available for download on 6th November. Read more here.

Interesting IBM MQ links

Here are a few links that caught our eye this month.

We share all the above links on our Twitter feed and Facebook page so if you don’t want to wait until the end-of-month newsletter, follow us on there.

Upcoming events

There are a number of conference events where IBM MQ will be featured in the coming months. Hopefully you’ll be able to sign up to one near you and obtain some MQ technical education.

Upcoming online events

If you’re unable to get to any “in-person” events, then these online webcasts are just what you need.

Product Info

This months highlighted product information is a video which introduces the MO71 product.

IBM MQ Latest Maintenance

Make sure you’re on the latest maintenance level of your version of IBM MQ. These are the latest Fix Packs at the time of going to press. Check here for the latest versions now, and here for the planned dates for the next ones.

Handy IBM MQ Resources

If you have a question about IBM MQ that you can’t find the answer to, these resources are good places to ask your question.

Contact Information

MQGem wishes you a Spooky Halloween. We’d love to hear from you. Get in touch by email or follow us on one of our social media channels.
EmailFacebookTwitterLinkedInYouTubeWordPress

← Previous Newsletter

IBM MQ and MQ Appliance News – October 2017

On Tuesday October 24th, IBM Hursley announced the next in the series of Continuous Delivery releases for IBM MQ V9.0 and the MQ Appliance. IBM MQ V9.0.4 was made available on November 6th.

Here are the various announcement letters:-

Links of interest:-


We’ll collect up any other links about the new release as we find them and put them all here.

MQGem Monthly (September 2017)

MQGem Monthly Banner
VOLUME III. – No. 9. FRIDAY, 29 SEPTEMBER, 2017 PRICE: FREE

Welcome to the September edition of the MQGem Monthly Newsletter, bringing you company news from MQGem Software, information about the MO71, MQSCX, MQEdit, and QLOAD products, and interesting articles about IBM MQ.

News

A minor update was made to MO71 to provide a preference option to cause compare dialogs to use all attributes including InhibitGet and Trigger (which change a lot).

We’ve just been to the MQTCv2.0.1.7 Conference, the only dedicated IBM MQ Conference. Paul and Morag were both there as speakers and with an MQGem booth in the Sponsor Pavilion. Read more here.

Interesting IBM MQ links

Here are a few links that caught our eye this month.

We share all the above links on our Twitter feed and Facebook page so if you don’t want to wait until the end-of-month newsletter, follow us on there.

Upcoming events

There are a number of conference events where IBM MQ will be featured in the coming months. Hopefully you’ll be able to sign up to one near you and obtain some MQ technical education.

Product Info

This months highlighted product information is an article to show you how to use MO71 to generate emailed alerts whenever an interesting event happens.
MO71 Monitor Tab

IBM MQ Latest Maintenance

Make sure you’re on the latest maintenance level of your version of IBM MQ. These are the latest Fix Packs at the time of going to press. Check here for the latest versions now, and here for the planned dates for the next ones.

Contact Information

MQGem enjoyed the MQTCv2.0.1.7 conference. Were you there? We’d love to hear from you. Get in touch by email or follow us on one of our social media channels.
EmailFacebookTwitterLinkedInYouTubeWordPress

← Previous Newsletter

Education Courses Prize Draw at MQTCv2.0.1.7

At the recent MQTC Conference, MQGem ran a Prize Draw where one lucky entrant would win access to five free education courses by MQGem which will be going live in November. These courses can be done by the winning entrant or any member of his company, so if he has any new members in his department that can benefit from some IBM MQ education, they could use them.

The draw was made at lunchtime on the final day of the conference and the lucky winner was John Edelmann from the Defense Logistics Agency (DLA).

The prize draw winner

Morag Hughson (MQGem) with John Edelmann, the prize draw winner.

John will receive access to his five free courses sometime around the beginning of November 2017 when the MQGem Education courses go live. Look out for further announcements on here if you’re interested in taking some online education courses yourself.

MQGem at MQTCv2.0.1.7

We’ve just finished a great three days at the MQTC v2.0.1.7 conference in Sandusky, Ohio. MQTC is the only conference dedicated to IBM MQ education, and was again very well attended by speakers, sponsors and attendees. Both Paul and Morag gave technical presentations as we mentioned in an earlier blog post.

For the first time in the 5-year run of this conference, we started the conference with an unopposed session, “What’s New in IBM Messaging”, before splitting into 5 tracks as in previous years. Roger Lacroix, who is the founder of the conference, made some opening remarks prior to that session, and then took his first ever selfie with the audience!

MQGem was a Gold Sponsor of the conference, and so also had a couple of vendor presentation sessions which were presented by Paul; the first on Monday, was about our MQ administration products, MO71 and MQSCX. Then on Wednesday, the second presentation was about our Message Manipulation products, MQEdit and QLOAD.

In the lab room this year, complementing the z/OS platform lab exercises provided by Lyn Elkins and Mitch Johnson, we made freely available our soon-to-be-released education courses. These were available for those people wanting to learn things on the distributed platforms, and a number of people tried them out. Our prize draw this year was to win access to five free courses, when they go live in around a months time. It was very heartening to see people learn new things while doing the courses, and good feedback was received on the exercises.

We also had a booth in the Sponsor Pavilion on Monday and Tuesday evening, where we gave personalised demos of any of the products to attendees who came by, gave out product brochures, free mouse mats, and beer koozies, and collected entries for our prize draw.

Yet again, the Kalahari Resort has done this conference proud, and huge thanks go to Capitalware for putting on a great three days.

Other blog posts about the conference: