2026-10 IDUG EMEA 2026 Review

As usual after an IDUG, I wish to run through the presentations and highlight what I found interesting, newsworthy or just worth propagating to the community at large.

AI or FL511?

This year it was either migrating to FL511 or AI – that was basically it!!!

Location, Location, Location

The food was excellent and the location was great. The AV could have been better, some of the rooms were a bit small, or you were blinded by the sunlight from outside. This never normally happens in late September but the weather was glorious!

Disclaimer

Here is my normal Caveat Emptor – I am going through the downloaded presentations and I did *not* attend anywhere near as many as I wanted but I do also have to work at these events so please accept my apologies if I missed your favorite session or if I quote from a slide that was removed by the presenter or I missed a great quote as the presentation has not yet been updated or is perhaps not even available!

Where are they all?

You must have attended the IDUG and be a member of IDUG to download these! Go to the IDUG web site, login and navigate to:

https://community.idug.org/organization/idug-emea-2026-db2-tech-conference/paths

Here you can download the PDFs in Track sequence.

Off we go!

We start, as always, with the A track for Db2 z/OS

A01 Db2 for z/OS Trends and Directions from Haakon Roberts was the usual great update about all things Db2 for z/OS. Slide 10 with PH69217 is a must-have!

A02 Hard Lessons Learned when using High Performance DBATs with Db2 for z/OS from John Campbell (Now at Broadcom) was a typically great John presentation. Slide 18 all about getting safe before you start is a great tip! The WLM changes are also an absolute must to check and verify when switching to HP DBATs.

A03 What’s New in Db2 for z/OS Performance from Akiko Hoshikawa. A really good update, as usual, about all things performance in Db2. The use of CDDS got a much-needed mention as this really is a “hidden chestnut” at this time! APAR of major interest is PH70190 for work files.

A04 Supercharging Db2 with Generative AI: From Natural Language Queries to Autonomous Performance Optimization from Chris Crone. As well as the longest title ever, this was naturally all about the brave new world of trying to tell newbies that z/OS is not a green-screen dead-end but a VS Code vibrant world ready for the future!

A05 Starter’s Guide to Db2 for z/OS Group Buffer Pool Monitoring and Tuning from Bart Steegmans covered a bunch of Group BP tuning topics very close to my heart as these Baby Brothers of BPs are nearly always, sadly, ignored by most of us! The final slide Summary contains what you must take away!

A06 Strategic Efficiency: Maximizing Db2 Utilities from Denis Tronin was a run-through and update about all the Broadcom utilities that one could possibly use with Db2 for z/OS.

A07 Db2 Utilities: Best Practices from Haakon Roberts was the usual update about all things we should be doing with the IBM utilities today, but are probably not doing! Slide 19 with the “hint” that MODIFY RECOVERY makes REORGs faster was sublime …

A08 AMI Db2 utilities – What’s new was Roberto Cason talking all about the BMC Utilities and what they can do for you.

A09 Db2 z/OS Utility Internals — how to get the most out of them from Preetham Kannan was all about Utilities and which parameters and options are best for doing various tasks. From REORG to RECOVERY all utilities were well covered with examples about why which option should be used and when.

A10 Linuxification of Db2 for z/OS –a journey from ISPF and JCL to Shell and Playbooks from Marketa Muzikova & Emil Kotrc scared me at the title line! Pulls you through Unix on z/OS, ZOAU, Ansible and ends with a string of tips to make sure it all hangs together!

A11 From Pay Slips to P1 Incidents: Db2 for z/OS in a Payroll Company from Tim Vermeulen. A great look into a real company with real applications and real data including some good Buffer pool change results. The BPs were set up years ago and then were basically ignored. The BP, and as Bart said the GBP, are a real gold mine for performance as long as you have the memory for it of course! Then a very nice exposé about HTTP/REST call usage or, as it was put, “API Calls – A solution for the poor” !

A12 Db2 13 for z/OS – DDF Connection Security Controls from Gayathiri Chandran – Everything you ever wondered and more, about DDF and how it securely connects. Basically, we should all be moving to RACF Identity Token (IDT) usage or whichever similar system your security system offers…Or you could go down the road of Client Certificate Authentication for Protected IDs using Trusted Contexts. It was rounded off with a review of SYSTEM Profiles and what they can do to help & control DDF.

A13 was the z/OS expert panel discussion which I missed …

A14 DDF Best Practices from Derek Tempongko was all about DDF and how to find out where everything is coming from! Included is a list of things about VTAM/SNA deprecation which is very useful.

A15 JC Greatest Hits, War Stories and Best Practices 2026 – John’s latest updates about everything! Always worth seeing / reading and reviewing! Once again, GBP Tuning was discussed here in detail…

A16 Get ready for Db2 version 13+1 from Martin Ålund. A presentation after my own heart! The Aha idea DB24ZOS-I-1480 was mentioned about allowing REBIND of PLANs while they are in use and I voted for it straightaway!

A17 DB2 for z/OS Workfile Deep Dive – How to Survive and Thrive from Adrian Collett. A detail-packed deep dive into these very misunderstood beasts of burden that we all take for granted! After the presentation is a ton of data going into crazy detail about all you will ever need to know…

Track B up next!

Onto the B track for Db2 z/OS which starts with B02 as “B01” would have been parallel to A01.

B02 Assessing Your Db2 Security for z/OS Without losing your mind (or Your Data) from Jørn Thyssen. The Six Pillars are all exposed and detailed. Including a step-by-step guide to assessing your current level of security as well as prompts for the AI of your choice to generate stored procs to do some of the heavy lifting for you. Slide 24 is a very nice Ownership best practices review. Included is “the triumvirate” of RACF Classes.

B03 My new besties: the Utilities tables from Soledad Martínez. This interesting presentation includes details on rows that are DELETED by conversion REORG processing. Includes a whole bunch of handy SQLs for doing interesting things and finding stuff out using these tables. Aha ideas get a page as well – so please look and go vote!

B04 Z Data Strategy & Integration Update from Cuneyt Goksu. This was more a C level presentation about how good IBM hardware/software stands at the moment in the business and AI world. Wrapping up with Kafka use cases and Confluent.

B05 Beyond the Basics: Backup and Recovery for Resilient Db2 Environments from Aysen Svoboda. Went into good details about what is a disaster, how are they caused, what you can do about it and how you can recover as quickly as possible. Plan, plan and plan again! REPORT RECOVERY should be your best friend!

B06 From Complexity to Operational Intelligence: Modernizing Database Administration with AI on IBM Z from Akiko Hoshikawa – like A03, no download available here.

B07 Revisiting Query Parallelism: Targeted Use of zIIP Processors for Db2 Queries from Thomas Baumann. Thomas shows us a way to revisit Query Parallelism in the light of the fact that we all have lots of zIIP processors these days as opposed to DB2 V4 in 1995 when it was introduced! Extremely good and interesting query rewrite examples leveraging parallel processing and ending with “in a Nutshell” on slide 41. Great stuff!

B08 Get Cozy with WLM: Why Every Db2 DBA Needs to Understand Workload Management from Denis Tronin. A complete introduction to all things WLM and distributed workload identification possibly requires application changes to actually use the _CLIENT fields. A nice round up of pitfalls and common mistakes followed by examples.

B09 Buffer Pool tuning process with a reverse application analysis from Pawel Hryb. Back to one of my favorite topics but with the twist of working backwards from the IFCID 199 output – Great idea! Good result on slide 26. One of the biggest finds was that simply REORGing SYSCOPY tablespace fixes a huge problem! My personal Mantra is SYSCOPY and SYSLGRNX reorged once a week every week.

B10 Db2 13 latest real customer experiences – new functions, best practices and some more…from Ute Kleyensteuber. Ute’s usual very good presentation about all things Db2 13 FL508 plus a page full of APARs that you should all have written down somewhere! Also included were the details of her on-going migration to 100% UTS and finally a review of early FL509 experiences.

B11 Bringing Mainframe into the Future: OpenTelemetry for Db2 for z/OS from Christoph Theisen. Gave a full introduction to the Whats, Hows and Whys of OpenTelemetry including the APARs PH67971 & PH68073 required for OTel support and the new commands for starting and stopping it all. Finishing off with a lessons-learned section and the difference between IFO and OTel today.

B12 Db2 critical events monitoring from Roberto Cason. This session went through a whole gaggle of messages and codes  and how to decode from where and how they were issued, then listing out all critical events that require instant responses!

B13 Introduction to SQL-PL from Les King. This was marked as being “cross platform” but I am pretty certain it is mainly of interest to LUW people. But it does contain a ton of example SQL PL language usage.

B14 The Db2z Game – No download available.

B15 Db2 Analytics Accelerator: V8, Migration experiences, future and customer updates from Cuneyt Goksu. Here we get a run through of the IDAA and Accelerator ecosystem including the IDAA on LinuxONE. Then the V8 update info including SQL Data Insight Pro.

B16 From Lilliput to Brobdingnag. Compression flavors in Db2 for z/OS from Ivan Losada. Absolutely everything you have ever wanted to know and more about Db2 on z/OS compression! Sadly, the graphics did not make it to the presentation but you can still read it all!

B17 Leave the dark side – Turn on the lights in Db2 performance management from Gerald Pfeiffer & Tim Meisner. They ran through the SVA product zInsights showing all the data you can capture and they can post process into clear graphs and drill downs. Snazzy! Lots of WLM set up and modernization data as well.

Track E now

Now onto track E – Themes I, where I have picked out all the z/OS relevant ones.

E02 Db2 Evolution to UTS from Haakon Roberts. Here, he went through the deprecated items again and then went through in great detail how and why to get to a 100% UTS world. The interesting point for me was the comment “Not wise to go beyond 100 tables at a time” during a MOVE TABLE statement. Another good point is to watch out for more open datasets, DSMAX could be hit nowadays! Finally, the old problem of OBID Limits could also easily be hit. You can view my Know your limits presentation where I explain this and other limits in detail.

E03 Autonomous Auditing: High Score on Db2 Security Features from Steen Rasmussen. Steens very last EMEA IDUG after being at 73 different IDUG style of things … impressive!!! The presentation is a quick review of all the autonomous security features that have arrived over the years to enable us to actually get nearly Autonomous Auditing!

E04 Smarter Db2 REORGs: A Real-World User Story from Shivam Pratap Singh. A real deep dive into just REORG! When you should do one, how you should do one and why you should review the reasons why you are doing it, and also: “The best REORG is possibly no REORG”!

E08 No Pain – No Gain: Story of Optimizing DELETE Purge Processing from Tereza Binarova discussed how one delete statement triggered six months of investigation and then this presentation as well! All you ever needed to know about DELETE processing and more! An interesting walk through what you can change or tweak and how it helped or did not – all summed up nicely on slide 29!

E09 Seamless SNA/VTAM migration (preconditioning for next version of Db2) from Derek Tempongko. A lot of firms are being bitten by this deprecated item. I think more than IBM Db2 development figured! So, it is to be expected that we get help in migrating to TCP/IP.

E10 Stabilize your dynamic SQL and don’t let it remain “unpredictable” from Colin Oakhill. Stabilized Dynamic SQL has been around a while but not many shops are leveraging its usefulness. This presentation takes a nice deep dive into Dynamic SQL and how to use and manage Stabilized Dynamic SQL.

E11 Exploring Db2 Explain Facility for the next Gen of Db2 DBAs and using AI to bridge the skills gap from Phill Baker. A deep dive into all about EXPLAIN and what the Optimizer “knows” about things before it decides its best lowest-cost access path. Using AI to help drive EXPLAIN understanding with a ton of prompts and answers.

E12 SQL Injection on SterAIds: Is Your Db2 Ready for AI-Assisted Attackers? from Petr Plavjanik. Showed us that SQL Injection, especially backed by AI, is alive and kicking! The “Is Your Db2 Ready?” checklist on slide 40 is a must-read for us all! All a bit scary, really …

E14 Detect, analyze and reduce IX Splits using RTS History from Laurent Kuperberg. Does what it says on the label! I have seen vast amounts of logging caused by index splits so I know it is a great area to win performance! Includes how to handle the three different IX splits that can occur and how to choose correct values for PCTFREE and FREEPAGE for your indexes based purely on RTS data.

E16 Getting Started with OpenTelemetry for Db2 from Angelika Heinrich and Rabah Beggar. All about OTel and the shift from Monitoring everything to Observing everything. OTel does not replace IFCIDs but it does supplement them and works at the Enterprise level.

E17 Db2 13 for z/OS – Security updates from Gayathiri Chandran. She runs through all the latest security updates with the keywords we should all know these days: Quantum Safe, Audit, Compliance etc. A note about PRIVATE_PROTOCOL as this parameter will die soon: you could start IFCID 374 to tracks its usage and start GRANTing EXECUTE ON PACKAGE now!

Finally Track F

Now onto track F – Themes II, where I have picked out all the z/OS relevant ones.

F03 Connect, Visualize, Predict from  Niraj Garudkar. All about using Connect with Python to get and run data from your z/OS using lots of different output types and rendering. Crazy what you can do these days!

F04 Insights and experiences from Garanti BBVA’s Fast Traverse Block index implementation in production from Hakan Kabayel. Here we learn all about FTBs with some SQL to find and select them as well as the tip to keep monitoring. The Conclusion on slide 27 shows you the numbers!

F05 When REORGs Go Wild: Managing Unexpected Partition Growth in Db2 PBG Tablespaces from Zoe Andreopoulou and Michal Bialecki echoed their journey through unexpected partition number growth after a REORG. After discovering the cause, they developed a set of tests to try and find the best way to “fix” the problem, basically a tradeoff between the number of indexes and number of partitions before switching to a TS Level Reorg or even abandon PBG and go PBR, if possible! The SORTNPSI YES parameter and the REORG_PART_SORT_NPSI AUTO/YES ZPARM are “your friends”.

F07 The Anatomy of Universal Tablespaces from Emil Kotrc. A really deep technical deep-dive into everything about UTS including all the usual suspects! Contains a great history of Db2 Tablespace from V1 on up – Nostalgia time! Warning: Contains maths! 😊

F08 Ready Player one? from Roy Boxwell (me!) A run through absolutely everything that will bite you before getting to Db2 13 FL511. I showed how to find the bad guys, how to fix the bad guys (apart from VTAM/SNA!) and how to handle SYNONYMS as they can be especially nasty! I rounded off with a quick review of our freeware MigrationReadiness HealthCheck that does it all for you!

F11 SQL Oldies but Goodies and the Power of the SQL Rewrite from Tony Andrews. Tony gave a review of all the new SQL stuff from DB2 V8 up to today and then concentrating on the power of SQL rewrite.

F12 Hidden in plain sight: Db2 recovery from Dhiren Chaudhary. Here he covers the complete RECOVERY scenario asking good questions especially about COPY YES Index usage pros and cons as well as FLASHCOPY benefits etc. He also has a good Aha idea that you could go and vote for : DB24ZOS-I-1852.

F14 Beyond COPY: Modern Recovery Strategies In Db2 for z/OS from Andrea Boaretto and Martin Crippa. They map and document a complete strategy for RECOVERY at any shop highlighting the elapsed and CPU savings of them all dependent on when the error occurs and how the RECOVERY progresses. Fascinating stuff!

F15 Loading large Db2 tables from Rob Gould. This was all about how you should process large amounts of data, by large he means over 1.7 billion rows! Great little tip was the use of z/OS Jobgroups which are basically a poor man’s job scheduler – Great for such a one off, obviously not great for normal production work!

F16 Db2 Connect – New Challenges and New Opportunities from Christoph Theisen. Starting out explaining licensing was a brave call in my humble opinion! I think the IBM naming commission made a bit of a mess of all this to this day! Important tip was EOF for V11.5 on the 30th April 2027. Another “deprecated” item we must address – In the V12.1 a bunch of changes including to the license were rolled out as well as a lot of new functionality. He also mentioned one of my favorite pains and that is the unuse of CLIENT information fields. Guys & Girls please USE THESE FIELDS! They are fantastic for tracking and monitoring – We all know that the application must be updated here but it should be a C level choice to absolutely know which transaction is “owned” by which “process”. It also enables the WLM to manage critical transactions so, for me, this is a no-brainer and this is all simply done by filling in the CLIENT Id fields.

F17 Architecting the Perfect Restore: Mastering Db2 Copies, and Compliance from Ahmed Hamed. A deep dive into the internals of Full Image Copies, Incremental Image Copies and VSAM-Level (SLB/FLASH) Copies leaning into improving your RTO times and then meeting your compliance goals.

Closing words

The winner of the IDUG EMEA 2026 Best User Speaker was Zoe Andreopoulou with F05 – Congratulations and it is good to see that z/OS rules again!

I managed a respectable “mentioned in dispatches” Top Ten speaker entry for which I am also very happy! On a related note, I am also very happy that my surname starts with a B!!!

I thought that this was a most excellent IDUG as the location was great, the people were, as usual, fantastic and it is always a pleasure to present and to meet and greet colleagues, customers and Db2 professionals. Of course, with the Barista coffee machine next  to my booth, my life was better than usual! ☕

After the IDUG is before the IDUG!

The next EMEA IDUG will be held from 26th to the 30th April 2027. Monday the 26th is the pre-conference workshop day. Location is at the new IBM labs in Ehningen, Germany.

As you can see, at the bottom left, we will be south west of Stuttgart next year! Just over a five-hour drive from where I live… Should be fun!

What did you think of the IDUG this year?

TTFN,

Roy Boxwell

2026-07 Are you Quantum Safe?

Quantum is being really heavily hyped at the moment and even my good self has been caught up in some of the Hoo-ha around it! Specifically which parts of Db2 are not “quantum safe”?

Quantum?

Yep, not like the TV Series “Quantum Leap” at all! The idea of quantum data goes back many, many decades but has only recently really started earning a living instead of being a scientific curiosity! There are six basic concepts that you must know a little about to start to “grasp the basics” of Quantum Computing.

Have you Qubit off more than you can chew?

The most important bit about quantum computers is the fact that they have qubits and not bits! The difference is staggeringly huge and mind-bendingly weird but boils down to the simple fact that a bit can be 0 (off) or 1 (on) – That’s it folks! On the other hand, a qubit can be anywhere between 0 (off) and 1 (on), in fact an infinite number, and it gets weirder when you have more qubits to play with. They do not join linearly but exponentially! This means that with 1,024 Qubits you have a mind-meltingly high number of possible values.

Ice Ice Baby!

You gotta keep qubits cold and I mean really cold… best is 0o Kelvin (Absolute zero) which is pretty nippy in July! For me in Germany that is -273.15o Celsius and for those of you “over the pond” a very large negative number of Fahrenheit! Ok, the actual number is -459.67o Fahrenheit. Naturally, we never can reach 0o Kelvin but we can get pretty close these days and at this temperature it minimizes error rates and enables superconducting behavior as well. The warmer they get the more they are prone to losing their quantum state, or decoherence in the jargon.

Superposition – the first Concept

Qubits are in a superposition of all possible values between 0 and 1 until they are measured. Then they snap back, the quantum state collapses is the correct term, and resolve to a 0 or 1 – This gives you the “answer” if you like. We can never fully predict the outcome but we can calculate the probability of a given outcome.

Entangled – the second Concept

Entanglement is crucial to getting Quantum computers to do any meaningful work for us humans. It is, at a minimum, two particles that are paired up in such a way that the quantum state of one particle cannot be determined independently of the state of the other, irrespective of the distance between the two. In other words, you can work out the quantum state of a particle when it is a light year away from its partner! Einstein famously wrote in 1947 about “spukhafte Fernwirkung”, in English “spooky action at a distance” as he could not believe this! But it has now been proven over and over that entanglement does happen and with many more than just two qubits.

Exponential speed-up?

Using entanglement puts two or more qubits into a single shared quantum state, so they stop behaving independently and combined with interference (coming up) that is where the real speed-up lives. Please also remember that measuring one does instantly pin down the others, but no usable information actually travels faster than light. For one qubit we have probabilities distributed over two states. For two qubits the distribution goes over four states, for three qubits it is eight states etc. In general, the rule is for N qubits the probability is over 2n states.

Interference – the third Concept

We have all thrown stones into a pond or the sea and seen the ripples spread outwards. When the waves bounce back from the edge of a wall or boat you might have noticed that the waves interact with each other. When the peaks meet, you get a big wave. When troughs meet, you get a big hole. And when a peak meets a trough – nothing.

Give us a Wave!

In the quantum world this a wave function which is a mathematic description based on polynomials. To measure the entangled qubits, you just add the individual wave functions for every qubit until you have a single wave function of a single quantum state. This adding of the wave function gives us an interference pattern where we can change probabilities of the correct answer by using constructive interference (The peaks of the wave add up) or reduce the probability of a wrong answer by using destructive interreference (Where the two waves cancel each other out).

Tunneling – the fourth Concept

Now it gets weird! (Only now, you ask? Well …) This is where an object can pass through an energy barrier that within normal classical physics it should not be able to pass through! Think of a high mountain and then imagine that someone has bored a tunnel at the base of the mountain right on through. If the object can use the tunnel, it will make it much faster to the other side! Remember, the wave function is a probability so when this function encounters a potential barrier and if the barrier is thin enough it can indeed tunnel through and then there is a chance that the particle will appear on the other side.

Examples abound!

Nuclear fusion in stars is where protons overcome their electrostatic repulsion which allows the sun to shine, or radioactive decay where Alpha particles tunnel out of the nucleus. Modern electronics rely on this phenomena for tunnel diodes which were invented in 1957, for scanning tunneling microscopes invented in 1981 and also for flash memory as well.

Synchronization – the fifth Concept

We have all been to concerts where people start clapping. At some point all the clapping synchronizes and gets very loud! This is where the wave functions of independent particles can all “march to the same beat” and spontaneously synchronize – this is very important when using certain algorithms.

Quantum Parallelization – the sixth Concept

Behind this is the really weird idea of parallel universes where each universe does one calculation and with N parallel universes the time of one calculation is enough for *all* calculations. At the moment of “observation” the qubit ends in a “collapsed” state and you get a result. This is also used in quantum chip design where the second, or more, input can be influenced by the first input!

The Traveling Salesman gets his Route!

The Traveling Salesman is a very old problem, from 1930, where you must calculate the optimal route for a poor traveling salesman to visit N cities with the shortest route, visit each city only once and return to the starting city. It sounds “easy” but is actually NP-Hard. In math terms this means it is not solvable in polynomial time and for every city added the time goes up exponentially. If you have three cities anyone can do it but when you have just 20 it gets practically unsolvable!

Give me numbers!

A raw brute force “try every possible route” approach takes a running time within a polynomial factor of O(n!) where O is the Order of growth in Landau notation – fittingly, it comes from the German word “Ordnung” (Order). So you can see that after 20 Cities the numbers get silly. The Held-Karp algorithm from 1962 solves it in time O(N22N) whereas the latest quantum algorithm from Ambainis et al. from 2019 runs in just O(1.728N).

CitiesBrute ForceHeld-KarpQuantum
36725
103,628,800102,400237
202.43 x 1018419,430,40056,347

As you can clearly see, Quantum Computers will greatly help with this problem and all derivatives in logistics, and DNA sequencing, for example. Note that the quantum solution is still exponential but just not as bad as before as it is a NP-Hard problem after all!

Spinning on your Heels?

To get this level of improvement the Quantum Computer uses an Ising Machine where spinning particles are each a city and they will eventually all synchronize on the most efficient path. Calibration is on various factors but for the Traveling Salesman problem it is on distance.

Now we are Experts – Why?

Factoring of numbers is the number one reason, as of today, for doing all this! But, unlike the Traveling Salesman, factoring is not actually NP-Hard – it sits in a curious middle ground, and it is exactly that hidden structure a quantum computer can exploit (quantum computers are not believed to crack genuine NP-Hard problems). Encryption is basically two large prime numbers multiplied together. Computers can do that very easily! Going back, or factoring, from a huge semi-prime number to the two starting primes is, however, very difficult for a classic computer. Shor’s algorithm lets a quantum computer recover those prime factors efficiently – not by trying everything at once, but by exploiting interference – and that breaks the public-key (asymmetric) encryption such as RSA and ECC which protects key exchange and digital certificates.

Grover’s Algorithm

Lov Grover created this in 1996 and it is basically an enhanced search with O(√N) evaluations but it can brute-force a 128-bit key in 264 iterations or 256-bit in 2128 iterations. It is quadratically better than simple brute-force and there are improvements on their way – especially the class of non-local hidden variable quantum computers could do the search in O(∛N) – the cube root of N – evaluations instead of O(√N) evaluations!

Finally Db2!

Yeah! I made it nearly to the end before even getting into the reason for the newsletter!!! The problem is that all of our data is encrypted, most of you are using 128-bit keys which are ok and are still pretty hard to crack. Anything less than 128-bit keys is crackable now in a brute force attack. The recommended way forward and to remain “Quantum Safe” is to change all your encryption today to use at least 256-bit keys. These will be safe from Quantum Computers for a long time.

Post-quantum…

One nuance worth stating plainly: the Db2 ENCRYPT and HASH functions listed below are symmetric, where a quantum computer (Grover) only halves the effective key strength – so moving to 256-bit gives you 128-bit of real protection and is exactly the right fix here. The factoring threat from Shor described above instead breaks asymmetric public-key crypto such as RSA and ECC, where larger keys do not help and post-quantum algorithms are required – that protects your TLS handshakes and certificates and is a separate piece of work.

How long is long?

The so-called Q-Day is expected in 2030 when anyone with a Quantum Computer can then read all the data you are *now* storing…  

Stuff to do, then?

Yes indeed, any use of the following is no longer really secure for “tomorrow” anymore and steps must be taken to raise the level of encryption. If any of the following scalar functions are being used in your shops it is time to start a project group “Quantum Safe Encryption”:

DECRYPT_BINARY
DECRYPT_BIT
DECRYPT_CHAR
DECRYPT_DB
ENCRYPT           Triple Data Encryption Standard 128 Bits
ENCRYPT_TDES      Triple Data Encryption Standard 128 Bits
HASH(xxxx)        Message Digest 5                128 Bits
HASH(xxxx,0)      Message Digest 5                128 Bits
HASH(xxxx,1)      Secure Hash Algorithm 1         160 Bits
HASH_CRC32(xxxx)  Cyclic Redundancy Check          32 Bits
HASH_MD5(xxxx)    Message Digest 5                128 Bits
HASH_SHA1(xxxx)   Secure Hash Algorithm 1         160 Bits

Replacements, please!

If you find any of these in your SQL workload you must get the application teams to replace them with:

DECRYPT_DATAKEY_type     With the new full list of types.
ENCRYPT_DATAKEY(xxxx,
key-label-name,
AES256R or AES256D)      All 256 Bits. Using AES256D enables EQUAL
                         usage as the same value will encrypt to the
                         same encrypted value but is not as secure
                         as AES256R.
HASH(xxxx,2)             Secure Hash Algorithm 2 with 256 Bits
HASH_SHA256(xxxx)        Secure Hash Algorithm 2 with 256 Bits

The highest Bits have it!

As you can see, anything less than 256-bit keys is nowadays not deemed “Quantum Safe” which means someone will be able to easily decode your emails, data, transactions, logs etc. when that Q-Day comes – and it may come sooner than you would think or like!

Not easy to do!

So now, if you find any of these functions you must decrypt the data and then re-encrypt the data with one of the 256-bit keys so you are “safe for a while” – Of course how long we will be “Quantum Safe” with 256-bit keys is a very open question indeed!

Finally a small course from IBM

Here’s a nice intro to all of the above from IBM.

TTFN,

Roy Boxwell

2026-06 Db2 vNext Migration – Are YOU ready, Player One?

This month I wish to stroll along the dangerous and difficult road called Db2 Release Migration. We all love it as it means a new release with all new go-faster features and whizzbang things to play with but we also all hate it as it means we have things to do before we can actually migrate and get to this new promised land.

With Db2 for z/OS vNext coming up soon we are now back in the Driving Seat!

The list of deprecated items is pretty long and now about 80% of them have been finally deleted. If you have, or use, any of them you will *not* be joining the rest of us on the other side of the valley where the grass is definitely much greener!

The list of killed off items is:

  • Simple tablespaces
  • Segmented tablespaces
  • Classic partitioned tablespaces (With or without Index based partitioning)
  • Basic (Six byte) format
  • BRF (Basic Row Format so not yet at RRF – Reordered Row Format)
  • Hash Access
  • Synonyms
  • VTAM/SNA

Haakon Roberts shared this data at the IDUG EMEA 2024 in Valencia and it was the first time we had all seen an inkling of what would come. The real surprise, at least for me, was the requirement to remove VTAM/SNA support and move over to TCP/IP. The rest we had all known about for years but killing off VTAM/SNA was brand new!

CATMAINT to the Rescue?

Nope! None of these features will be automagically fixed by running a CATMAINT. It is all manual work and up to us, the DBAs fighting at the front, to fix “When we have some spare time…”

An ALTER a Day keeps the Dr at Bay

The basic “cure” for most of these problem children is simply an ALTER and a REORG, but it *never* is that easy, is it? To fix segmented or simple tablespaces with just one table within them it is an ALTER to MAXPARTITIONS 1 which will kick the tablespace into the world of UTS PBG. Follow up with a REORG with inline statistics and a REBIND of all invalidated packages and you are done.

More than one?

If you have multi-table tablespaces then you must be at Db2 12 FL508 or higher and create a new set of tablespaces that match *exactly* the current ones for BUFFERPOOL, CCSID and LOGGED attributes. Then you use the ALTER … MOVE TABLE syntax for each table. An actioning REORG followed by a full RUNSTATS on each new tablespace afterwards with SHRLEVEL REFERENCE is then required to get the RTS statistics inline. Now do a REBIND of all invalidated packages and you are done.

Time for the Classics?

If you have any really, really old index-based partitioning tables, you must do two ALTERs within one commit scope. The first flipping the Partitioning Index to NOT CLUSTER and then back to CLUSTER. Now you are at table-based partitioning so read on!

Table-based partitioning

At this point it is an ALTER to SEGSIZE 64 which will kick these babies into the fun world of UTS PBR.

For both Classic cases, follow up with a REORG with inline statistics and a REBIND of all invalidated packages and you are done.

Six Byte RBA/LRSN, anyone?

If any of your tablespaces or indexspaces have not got 10 Byte RBA/LRSN then you must REORG them to action this. One little problem here is if the space is an XML space (Type = ‘P’) then you must first check its base table’s tablespace to see if that is a UTS space. If so then all is good, otherwise you have a non-versioning XML space which will require this four-step fix:

1. DSN1COPY to generate image copy for XML data

2. Drop XML column from base table

3. Recreate the XML column in the base table

4. LOAD REPLACE to load the XML data from the image copy generated by step 1.

Invalidated Packages?

Yup! All of these ALTERs and the actioning REORGs with their inline/afterwards RUNSTATS will happily invalidate any and all packages that refer to the objects… This is a major pain as your access paths can then very easily go south! This is time for our tool BindImpactExpert (BIX) to ride to the rescue. As long as you are running with EXPLAIN(YES) – and I sincerely hope you are!!! – BIX can be used to highlight any and all changed access paths enabling you to be proactive with corrective measures.

Definitely evil DEFINE NO

DEFINE NO objects are great as SQL can SELECT from them really fast! They take up next to no disk space and require no REORG or COPY processing as there is no VSAM dataset. The problem with these little devils is that REORG is actually *not* permitted on them! One exception to this rule is if the TS/TP was created with BRF, as then you can REORG with the option ROWFORMAT RRF and this REORG will just flip a bit or two in the catalog/directory and nothing else.

And???

That means that all the ALTERs you might have done are “hanging in the wind”. IBM state that an INSERT/LOAD will materialize the VSAM cluster(s) but who wants to do that? The only way forward is to extract the DDL that created them, DROP them and then reCREATE them all as DEFINE NO again. As when recreated they will be valid for vNext, of course then a REBIND of all invalidated packages is also required and you are done.

Devil in the Details

For BRF partitions the fixing REORG will fail if any table has a validation procedure (VALPROC table column) or edit procedure (EDPROC tabel column) defined. If this is the case then the procedures must first be dropped before the REORG and afterwards added back.

Did they make a HASH of it?

HASH access came in with a big fanfare, we finally had an access path like IMS HDAM, but it died a death very quickly and the fix here is ALTER with DROP ORGANIZATION. Naturally, this drops the hash index and so you must then create a new index for SQL use and – guess what else you must do? Of course, a REORG with inline statistics and a REBIND of all invalidated packages and you are done.

Simply SYNONYMs

I wrote a Blog about all these beasts.

Yes, over ten years ago! The actual fix for every synonym is straightforward:

SET CURRENT SQLID = 'Synonym schema' ;
DROP SYNONYM 'Synonym name' ;
  COMMIT ;
CREATE ALIAS 'Synonym schema'.'Synonym name'
       FOR   'Table creator'.'Table name' ;
  COMMIT ;

The problems here are that the statement SET CURRENT SQLID requires SYSADM Authorization, so this is not something I would farm out to the next student doing work experience!!! Plus, guess what you have to do afterwards??? A REBIND of all invalidated packages and possibly a chain of dependent invalidated objects as well and you are done.

TCP/IP is the Future!

It came as a surprise but there are indeed shops out there who are still using VTAM/SNA for inter-Db2 communication. The problem here is that when it was released in 1974, we all trusted each other! If you were connected to DB2A and just hopped over to DB2B it happily trusted you as you “were already on a DB2A so you must be good guy!” Sadly, those halcyon days are long gone. These days we have “Zero trust” as the norm – a real shame but it is what it is!

Reason for Change?

TCP/IP has enhanced security (AT-TLS and JSON Web Tokens), it can use 64-bit communication buffers and is zIIP eligible. You will save CPU and be much more secure, so going to this is really no question – However, this is a project all on its own – not something for a Friday afternoon at 4 o’clock!

Big Switch?

To switch off VTAM/SNA you should do several things. First clear out any and all old entries in the CDB tables LULIST, LUMODES, MODESELECT and all but the empty LUNAME entry from LUNAMES. Then you should do a BSDS update with DSNJU003 setting the IPNAME for that subsystem to be the real host name. Just doing that switches off VTAM/SNA for that member. If doing all this then also go to SECPORT usage at the same time as then your Db2s are truly secure! Your auditors will love you.

IBM Details

Are here.

Let’s get it sorted!

Yes, even all the sort workspaces must be cleaned-up and moved to PBG spaces. You really need a lot of 32k, a few 4k, and you need to know exactly how many FOR SORT and how many FOR DGTT (The new syntax in Db2 13 FL508) you require and need. No more guessing at which workload is going into which work tablespace.

  • FOR SORT specifies that the table space is used for processing other than declared global temporary table (DGTT) work, such as sort, joins, created global temporary tables, query parallelism, trigger transition tables, and so forth.
  • FOR DGTT specifies that the table space is used for DGTT work and processes that use internal temporary tables, such as scrollable cursors and INSTEAD OF triggers.

Remember that here no ALTER helps – you must DROP and CREATE the work spaces again… But hey! At least no REORG, RUNSTATS and REBINDs are required!

<PHEW> That’s a Ton of Stuff to do…

Wouldn’t it be cool if there was a nice small bit of freeware out there that listed out all the stuff you have to do to actually get ready for Db2 vNext! In fact, you cannot even get to Db2 13 FL511 as that will stop you with any of the above-mentioned items!

What Luck – SEGUS to the Rescue!

Yes indeed, we have a bit of freeware called MigrationReadiness HealthCheck for Db2 z/OS (MRHC) that runs through your Db2 subsystems and shows you all the KPIs you have as well as highlighting all the Migration Blockers, as I call them. There is also a pay-ware version that then actually creates all of the ALTERs, REORGS, RUNSTATS and REBINDs for you as well.

How does it look?

It looks cool, of course! Here are a few example screen grabs of how it looks in my little Db2 13 data-sharing test system and what it offers:

Db2 MigrationReadiness HealthCheck V2.1 for SD1 V13R1M509
               started at 2026-05-28-11.08.24
            Lines with *** are deprecated features                              
            Lines with MMM are migration blockers                               
            Lines with XXX are definition errors                                 
Number of DATABASES          :  225                                              
  # of empty DATABASES       :   48                                             
  # of implicit DATABASES    :  110                                              
  # of empty implicit DBs    :   46
                                              
Number of TABLESPACES        : 4995                                              
  of which HASH organized    :    0                                              
  of which PARTITION CLASSIC :    0                                              
    # Partitions             :    0                                              
  of which SEGMENTED         :   27 MMM                                          
  of which SIMPLE            :    3 MMM                                          
  of which LOB               :   99                                              
  of which UTS PBG           : 4833 
    # Partitions             : 4834                                              
  of which UTS PBR (Absolute):    1                                              
    # Partitions             :    6     
  of which UTS PBR (Relative):   10                                              
    # Partitions             : 2215                                              
  of which XML               :   22 
             
Number of TSs as LARGE       :    0                                              
Number of empty tablespaces  :    7                                              
Number of multi-table TSs    :   12 MMM                                          
  # of tables within these   :   49       
.
.
Number of table partitions   : 7211   
  of which DEFINE NO         : 2918   
  of which 6 byte RBA <11 NFM:    0   
  of which 6 byte RBA Basic  :    0   
  of which ten byte RBA      : 4293   
Number of TP in BRF          :   17 MMM
.
.
LULIST entries found         :    0   
LUMODES entries found        :    1 MMM
LUNAMES entries found        :    2 MMM
MODESELECT entries found     :    1 MMM
.
.
Total number of REORGs        21          
     REORGing                176 Cylinders
        also requiring      1409 REBINDs

   

Naturally, most of this is the Db2 Catalog and Directory. At the end it outputs a small list of KPIs with the Total number of REORGs required, the total numbers of Cylinders of space all the table and indexspaces take and how many REBINDs should then be done afterwards. This gives the experienced DBA a very good idea of how long and how potentially dangerous this whole thing could be!

Just the Facts, Ma’am!

Under DD card ALTERCAT in the pay-ware version are all the required actions, note that you must be at Db2 13 FL509 or above to get the CONVERTUTS REORG syntax:

-- REORG TABLESPACE DSNDB01.SCT02 SHRLEVEL CHANGE
--   CONVERTUTS 
-- REORG TABLESPACE DSNDB01.SYSUTILX SHRLEVEL CHANGE
--   CONVERTUTS 
-- REORG TABLESPACE DSNDB06.SYSALTER SHRLEVEL CHANGE
--   CONVERTUTS
-- REORG TABLESPACE DSNDB06.SYSCONTX SHRLEVEL CHANGE
--   CONVERTUTS 
--REBIND PACKAGE(IQA_COLLECTION_610.SQLDVDRC) APREUSE(WARN)       
--REBIND PACKAGE(IQA_COLLECTION_610.SQLDVDRC.(2026-01-21-06.55.23.099777)) APREUSE(WARN)
--REBIND PACKAGE(IQA_COLLECTION_DE.SQLDDLS.(2019-03-22-09.20.33.799998)) APREUSE(WARN)
--REBIND PACKAGE(IQA_COLLECTION_DE.SQLDDLS.(2022-08-01-06.08.43.796175)) APREUSE(WARN)
--REBIND PACKAGE(IQA_COLLECTION_DE.SQLDVCRC.(2018-08-21-07.21.16.927191)) APREUSE(WARN)
--REBIND PACKAGE(IQA_COLLECTION_DE.SQLDVDRC.(2022-08-01-06.21.52.371116)) APREUSE(WARN)
                                    

Notice that it always generates APREUSE(WARN) to try and keep the old access path.

Also, here are any of the nasty DEFINE NO REORG problems:

-- DEFINE NO TABLESPACE TS5941.TSTSDNQ REORG NOT POSSIBLE

and the SQL for CDB Clean-up:

-- DELETE FROM SYSIBM.LUMODES  
-- ;                           
-- COMMIT ;                    
-- DELETE FROM SYSIBM.LUNAMES  
-- WHERE NOT LUNAME = '        '
-- ;                           
-- COMMIT ;                    
-- DELETE FROM SYSIBM.MODESELECT
-- ;                           
-- COMMIT ;
  

Under DD card MIGRAREP are all the Migration Blockers listed out in detail:

Simple DB: DSNDB01 TS: SCT02      
Segmented DB: DSNDB01 TS: SYSUTILX
Segmented DB: DSNDB06 TS: SYSALTER
Segmented DB: DSNDB06 TS: SYSCONTX
Segmented DB: DSNDB06 TS: SYSDDF  
Segmented DB: DSNDB06 TS: SYSEBCDC
Simple DB: DSNDB06 TS: SYSGPAUT   
Segmented DB: DSNDB06 TS: SYSGRTNS
Segmented DB: DSNDB06 TS: SYSHIST 
Segmented DB: DSNDB06 TS: SYSJAVA 
Segmented DB: DSNDB06 TS: SYSROLES
Segmented DB: DSNDB06 TS: SYSSEQ  
Segmented DB: DSNDB06 TS: SYSSEQ2 
Segmented DB: DSNDB06 TS: SYSSTATS
Segmented DB: DSNDB06 TS: SYSTARG 
Segmented DB: DSNDB06 TS: SYSTSASC
Segmented DB: DSNDB06 TS: SYSTSUNI
Segmented DB: DSNDB06 TS: SYSTSXTM
Segmented DB: DSNDB06 TS: SYSTSXTS
Simple DB: DSNDB06 TS: SYSUSER    
Segmented DB: DSNDB06 TS: SYSXML  
Segmented DB: TS5941 TS: TSTSDNQ  
Segmented DB: WRKSD10 TS: DSN32K00
Segmented DB: WRKSD10 TS: DSN32K01
Segmented DB: WRKSD10 TS: DSN4K00 
Segmented DB: WRKSD10 TS: DSN4K01 
Segmented DB: WRKSD11 TS: DSN32K00
Segmented DB: WRKSD11 TS: DSN32K01
Segmented DB: WRKSD11 TS: DSN4K00 
Segmented DB: WRKSD11 TS: DSN4K01 
BRF tablespace DB: DSNDB01 TS: SCT02    
BRF tablespace DB: DSNDB01 TS: SYSUTILX 
BRF tablespace DB: DSNDB06 TS: SYSALTER 
BRF tablespace DB: DSNDB06 TS: SYSCONTX  
BRF tablespace DB: DSNDB06 TS: SYSDDF    
BRF tablespace DB: DSNDB06 TS: SYSEBCDC  
BRF tablespace DB: DSNDB06 TS: SYSGPAUT  
BRF tablespace DB: DSNDB06 TS: SYSGRTNS  
BRF tablespace DB: DSNDB06 TS: SYSHIST   
BRF tablespace DB: DSNDB06 TS: SYSJAVA   
BRF tablespace DB: DSNDB06 TS: SYSROLES  
BRF tablespace DB: DSNDB06 TS: SYSSEQ    
BRF tablespace DB: DSNDB06 TS: SYSSEQ2   
BRF tablespace DB: DSNDB06 TS: SYSSTATS  
BRF tablespace DB: DSNDB06 TS: SYSTARG   
BRF tablespace DB: DSNDB06 TS: SYSUSER   
BRF tablespace DB: DSNDB06 TS: SYSXML    
CDB table LUMODES has row - LUNAME DKLTEST MODENAME MODTEST.
CDB table LUNAMES has row - LUNAME DKLTEST SYSMODENAME MODTEST.
CDB table LUNAMES has row - LUNAME ROYTEST SYSMODENAME -none-.
CDB table MODESELECT has row - LUNAME DKLTEST AUTHID DKLTEST_AUTH_ID PLANNAME DKLTEST.

Note the WRKxxxx tablespaces…

Start to plan today!

Using our MigrationReadiness HealthCheck for Db2 z/OS freeware you can start to divvy up and plan all of the work that will be coming down the vNext road towards you. Start now and you still have over two years to get it all done and actioned. Start in two years and you will never make it – The choice is yours!

TTFN,

Roy Boxwell