+

Search Tips | Advanced Search

OPMODE on z/OS

The availability of new functions and backward migration for IBM MQ for z/OSĀ® is controlled by the OPMODE parameter in the CSQ6SYSP macro. IBM MQ Version 8.0 new functions that are restricted by OPMODE are not available at Version 9.0 unless enabled with OPMODE. There are no new functions in Version 9.0 that are restricted by OPMODE.

Important: Backwards migration is not supported for a Continuous Delivery (CD) release. Queue managers running a CD release of IBM MQ must be started with (OPMODE=(NEWFUNC,90x). For example, a Version 9.0.1 queue manager must be started with OPMODE=(NEWFUNC,901).

Once a queue manager has been started at a CD release of IBM MQ with OPMODE=(NEWFUNC,901) or higher, there is no need to change OPMODE every time the queue manager is migrated to a later CD release.

The default setting of OPMODE at Version 9.0.0 is OPMODE=(COMPAT,900), which restricts the set of new functions available. Functions added in IBM MQ Version 8.0 and IBM MQ Version 9.0 that are restricted by OPMODE are not available. This makes it possible to revert a queue manager to its earlier release level, if you must do so.

To access all capabilities on a Long Term Support (LTS) release queue manager, change the value of OPMODE to OPMODE=(NEWFUNC,900). This prevents the queue manager from being started at an earlier version. Plan to do this in order to exploit all new functions as soon as you are confident that you will not need to revert the queue manager to its earlier release.

If you need assistance to revert to an earlier version of IBM MQ, contact your IBM support center.

Important: When migrating a queue manager from IBM MQ Version 8.0 to IBM MQ Version 9.0 LTS, do not recompile the system parameter (ZPARM) module with OPMODE=(COMPAT,900). Doing so deactivates functions restricted by OPMODE in IBM MQ Version 8.0. This might prevent functions that were in use before the migration from being used, and might prevent the queue manager from starting.

This is a change from the migration procedure to previous versions of IBM MQ. Leaving OPMODE at its current value retains the ability to revert the queue manager to its earlier release, while also keeping the same set of functions enabled.


Set OPMODE in the system parameter module

OPMODE is specified as a parameter to the CSQ6SYSP module when compiling the system parameter module (ZPARM).

The syntax of the OPMODE parameter is as follows:


Querying the value of OPMODE

If you query the value of OPMODE on a running queue manager, with the command DISPLAY SYSTEM, the result is displayed as three values in the following format:
compatibility mode, compatibility VRM, function VRM
where VRM is a release level. Note: This syntax is different from the OPMODE parameter of CSQ6SYSP, and some of the values have a different meaning.

The value of compatibility VRM is the release level we can revert the queue manager back to. If the queue manager is newly created at Version 9.0.0, then VRM=900. If the queue manager was previously run at Version 7.1.0, and is still capable of reverting to run at that version, then VRM=710.

The value of function VRM is the release level of the new functions that are available. In a queue sharing group, this depends on the OPMODE of the other queue managers in the queue sharing group as well.


Enabling new function in a queue sharing group

Each queue manager in a queue sharing group must have OPMODE set to OPMODE=(NEWFUNC,vrm), where vrm is 800, 900, or 901, and be restarted in order for any queue manager in the queue sharing group to use Version 8.0 function.

This means that there are effectively two phases to enabling Version 8.0 new function in a queue sharing group:
  1. The first restart with OPMODE set to OPMODE=(NEWFUNC,800), or higher, prevents the queue manager from being reverted to run on an earlier release level.

    Queue managers migrated from Version 8.0 to Version 9.0.0 can be restarted with OPMODE set to OPMODE=(NEWFUNC,800) without being prevented from reverting to run at Version 8.0.

  2. The second restart, when all other queue sharing group members have already been restarted with OPMODE set to OPMODE=(NEWFUNC,800), or OPMODE=(NEWFUNC,900) on an LTSR queue manager, and therefore cannot revert to run on a release level earlier than Version 8.0, allows Version 8.0 new function to be used.
For example, in a queue sharing group containing three queue managers, there will be a total of five queue manager restarts required to enable Version 8.0 new function on all queue sharing group members.


Disabling new functions

We can reset OPMODE to OPMODE=(COMPAT,900), after setting OPMODE=(NEWFUNC,900) on an LTS release queue manager, to prevent new functions being used.

If we do so, DISPLAY SYSTEM shows OPMODE as COMPAT,900,710, indicating that you cannot revert the queue manager to a version prior to Version 9.0.0, and that only Version 7.1.0 new functions are available.

See switching from new function mode to compatibility mode for more information.