Previous Topic: How to Perform an Active Multi-User Facility Upgrade


Introduction

Product: CA Datacom®/DB

Release: 15.00

OS: z/OS

This scenario describes how a database administrator (DBA) performs a successful Version 14.0 to Version 15.0 upgrade of a single active Multi-User Facility (MUF) instance. The term active means that the MUF is enabled and application requests are being processed against the following resources:

This Knowledge Base Article constitutes a portion of the official CA product documentation for this CA product. This Knowledge Base Article is subject to the following notices, terms and conditions.

Overview

The upgrade from CA Datacom/DB Version 14.0 to Version 15.0 is different from all prior version upgrades. This difference is because the CXX release stays at 14.0 and supports access from either a Version 14.0 or Version 15.0 MUF. The CXX is becoming release independent and it will probably remain so going forward just as the LXX, FXX, and database data areas have been up to this point.

Since the CXX no longer goes through a conversion process as a part of the upgrade, the term "upgrade" in Version 15.0 only refers to the system database resources associated with a Version 14.0 CA Datacom/DB MUF. The database resources are:

In all cases, the MUF must already be running at the CA Datacom Version 15.0 code level before performing any part of the Version 14.0 to 15.0 Active MUF upgrade process.

The following databases can be open and active in MUF at the time the CA Datacom Datadictionary upgrade process is performed:

Note: There should be no CICS Datadictionary On-line (DDOL) or CA Ideal (IDEA) user sessions attached at the time the Datadictionary upgrade process is performed. The CA Dataquery (DQ) database (default DBID 003) needs to be closed in MUF during its upgrade so no CICS Dataquery (DQRY) sessions can be attached and no batch DQ jobs running at the time it is upgraded.

There is not a requirement to perform all three upgrades at the same time. However, the CA Datacom Datadictionary upgrade must be successfully completed before the other two.

Performing an Active MUF Upgrade

As a DBA in your mainframe environment, you can install, maintain, deploy, configure, and customize features for the database product. The information that follows describes how to successfully upgrade one Version 14.0 candidate MUF environment to Version 15.0.

Benefits

The following graphic shows the workflow that is associated with creating and utilizing the CA Datacom/DB Parallel Upgrade process.

Performing an Active S A MUF Upgr

  1. Review the prerequisites.
  2. Review the recommended method for modifying JCL members.
  3. Create the CAI.HLQ.INSTJCL installation JCL library.
  4. Create the CAI.HLQ.ACT.INSTJCL installation JCL library.
  5. Modify and execute the CAI.HLQ.ACT.INSTJCL upgrade members.
  6. Modify and execute CAI.HLQ.ACT.INSTJCL restore members.

Review the Prerequisites

Before you perform an Active MUF Version 15.0 upgrade, complete the following prerequisites:

Review the recommended method for modifying JCL members

Important! To update the variables in all installation JCL members, use the CAI.THLQ.CABDSAMP member $DCBDEDT. This method is preferable to editing each individual member manually.

The $DCBDEDT member contains the macro ISREDIT. Updating and saving the $DCBDEDT member in your SYSPROC or TSO CLIST dataset allows all the variables in each Parallel Upgrade JCL member to be modified to site standards before submission.

After you modify the $DCBDEDT member, save it to your SYSPROC or TSO CLIST dataset using any name that you want. In the following steps, UPG15 is used as the name of the modified and saved $DCBDEDT macro. When you enter the UPG15 command, the edit macro is activated to allow custom tailoring of each JCL member before submission.

Example

The following three ISREDIT macro entry examples contain a "from" character string followed by a "to" character string. Change the “to” character string to a value that matches your sites standards.

/* WKSHT #2  */
ISREDIT C ALL "CAI.SHLQ"   "CAI.SHLQ" 
/* WKSHT #3  */
ISREDIT C ALL "CAI.THLQ"   "CAI.THLQ" 
/* WKSHT #4  */
ISREDIT C ALL "CAI.CHLQ"   "CAI.CHLQ"

Create the CAI.HLQ.INSTJCL Installation JCL Library

This task is the beginning point for any of the Version 14.0 to Version 15.0 upgrade methods. It needs to be performed for each MUF being upgraded since the group of datasets and their contents are unique to a specific MUF. When edited and executed, the CAI.THLQ.CABDSAMP dataset member BDCUS00 creates and populates the following:

Follow these steps:

  1. Locate CAI.THLQ.CABDSAMP dataset member BDCUS00. This member allocates the CAI.HLQ.INSTJCL dataset. It also copies the CA Datacom Version 15.0 upgrade JCL members from the CAI.THLQ.CABDSAMP library into the CAI.HLQ.INSTJCL dataset.
  2. Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.
  3. Submit the member for execution and then cancel out of it. Do not save the changes because the members in the CAI.THLQ.CABDSAMP dataset are under SMP/E control.

In the CAI.HLQ.INSTJCL dataset are BDCUS JCL members. These members can be used to perform a new Version 15.0 installation or any one of the three available Version 14.0 to 15.0 upgrade processes. The JCL members are:

Create the CAI.HLQ.ACT.INSTJCL Installation JCL Library

This task is the starting point for the Version 14.0 to 15.0 Active MUF Upgrade process. The following steps create a CAI.HLQ.ACT.INSTJCL dataset. This dataset contains the required JCL members to successfully upgrade one active MUF from Version 14.0 to Version 15.0.

Follow these steps:

  1. Locate CAI.HLQ.INSTJCL dataset member BDCUSACT. This member allocates the CAI.HLQ.ACT.INSTJCL dataset. Additionally, it copies the CA Datacom Version 15.0 upgrade JCL members from the CAI.THLQ.CABDSAMP library into the CAI.HLQ.ACT.INSTJCL dataset.
  2. Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.
  3. Submit the member for execution and then cancel out of it. Do not save the changes because the members in the CAI.THLQ.CABDSAMP dataset are under SMP/E control.

Modify and Execute the CAI.HLQ.ACT.INSTJCL Upgrade JCL Members

The following CAI.HLQ.ACT.INSTJCL members are used to upgrade system resources for one Active MUF to Version 15.0. The required system resources to upgrade are the CA Datadictionary component, CA Dataquery component, and the Dynamic System Tables database. The required JCL members to accomplish these upgrades are presented in the CA recommended order.

Every JCL member is re-runnable. If an error is encountered, correct the error, and simply resubmit it until a successful execution is accomplished. It is recommended that the DD, DDD, DQ, and DST system resource upgrades all be done at the same time unless there are special circumstances that prevent this from occurring.

Follow these steps:

  1. Locate CAI.HLQ.INSTJCL member BDCUSUPG. This JCL member assemblies and link edits all the CA Datacom Version 15.0 custom macros. Review the custom macro parameter settings of all CAI.HLQ.CUSMAC members and adjust the parameter values in each member as needed. If the Version 14.0 CUSMAC members are available, they can be used as input to this JCL member in place of the Version 15.0 CUSMAC.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

  2. Start the CA Datacom Version 15.0 candidate MUF. Or, use the CA Datacom/DB Shadow MUF option to migrate to the candidate Version 15.0 MUF.
  3. Locate CAI.HLQ.ACT.INSTJCL member BDACTALC. This JCL member executes IEFBR14 to allocate all needed backup datasets. Additionally, it adds the INCLUDE members used by the remaining BDACTsfx upgrade JCL members to the CAI.CHLQ.CUSPROC dataset.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

  4. Locate CAI.HLQ.ACT.INSTJCL member BDACTDD1. This JCL member executes DBUTLTY to create backups of the Version 14.0 CXX, DD, DDD, and ADRPNL datasets. If a restore back to the Version 14.0 DD and DDD becomes necessary, these backup datasets are the input to that process.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

  5. Locate CAI.HLQ.ACT.INSTJCL member BDACTDD2. This JCL member executes DDUPDATE to convert the Version 14.0 DD and DDD databases to Version 15.0. Additionally, it updates the Version 14.0 DDOL signon/signoff panels to Version 15.0. It can be successfully run while the databases are open in MUF.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

  6. Locate CAI.HLQ.ACT.INSTJCL member BDACTDQ. This JCL member executes the CA Dataquery DQLANGMT utility to upgrade the Dataquery database DQM data area tables from Version 14.0 to Version 15.0. This member can be run at any time but it is recommended that it be run after step 5 completes successfully.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

  7. Locate CAI.HLQ.ACT.INSTJCL member BDACTDYN. This JCL member removes the Version 14.0 Dynamic System Tables database from the active MUF and replaces it with the Version 15.0 equivalent. Do not run this member until after step 5 has completed successfully.

    Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards.

    Submit the member for execution and then cancel out of it so the changes are not saved.

This task completes the Active MUF Upgrade process for one candidate Version 14.0 MUF instance. To upgrade another candidate 14.0 MUF to Version 15.0, return to "Create the CAI.HLQ.INSTJCL Installation JCL Library" and repeat all the steps.

Modify and Execute the CAI.HLQ.ACT.INSTJCL Restore JCL Members

The following CAI.HLQ.ACT.INSTJCL members are available for restoring a Version 15.0 system resource back to Version 14.0. Since all Version 14.0 and 15.0 system resources are compatible across versions, needing to perform any of these restores would be extremely rare. If one or more Version 15.0 system resources cannot remain at that level, select the appropriate restore JCL member from the following, edit it and run it.

Version 14.0 CA Datadictionary restore

Locate CAI.HLQ.ACT.INSTJCL member BDACTDDR. This JCL member executes DBUTLTY to load the Version 14.0 CXX, DD, DDD, and ADRPNL dataset backups that JCL member BDACTDD1 created. Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards. Submit the member for execution and then cancel out of it so the changes are not saved.

Version 14.0 CA Dataquery restore

Locate CAI.HLQ.ACT.INSTJCL member BDACTDQR. This JCL member executes the Version 14.0 CA Dataquery DQLANGMT utility to revert the Dataquery database DQM data area tables back to version 14.0. Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards. Submit the member for execution and then cancel out of it so the changes are not saved.

Version 14.0 Dynamic System Tables database restore

Locate CAI.HLQ.ACT.INSTJCL member BDACTDYR. This JCL member executes DDUPDATE to remove the Version 15.0 Dynamic System Tables database and replace it with the Version 14.0 equivalent. Type UPG15 in the command line and press Enter. The ISREDIT macro is invoked, and all the member variables are changed to your site standards. Submit the member for execution and then cancel out of it so the changes are not saved.

Copyright

Copyright © 2014 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.