Scenario 1a: a successful global online change where one IMS uses MODBLKS=DYN

The IMS that uses DRD does not participate in the global online change. You must use DRD on that IMS to change the resource that you are changing in the other IMS systems that participate in the global online change.

This scenario involves a global online change for an IMSplex that has four IMS systems with the following attributes:

  • Three IMS systems that use the online change process for the resources in the MODBLKS data set. They have MODBLKS=OLC specified in the DYNAMIC_RESOURCES section of the DFSDFxxx IMS.PROCLIB member.
  • One IMS that uses dynamic resource definition (DRD). It has MODBLKS=DYN specified in the DYNAMIC_RESOURCES section of the DFSDFxxx IMS.PROCLIB member.

The following list illustrates a successful global online change command sequence:

Procedure

  1. The QUERY OLC LIBRARY(OLCSTAT) command is issued to show the active online change libraries, ACBLIBA, FMTLIBA, and MODBLKSA. The command also shows that the current modify ID is 1 and the OLCSTAT data set name is IMSTESTL.IMS.OLCSTAT. The IMS systems that are current with the online change libraries include SYS3, IMS2, and IMS3. These IMS systems will be permitted to perform a warm start or emergency restart.
  2. The INIT OLC PHASE(PREPARE) TYPE(MODBLKS) OPTION(FRCABND,FRCNRML) is issued to prepare IMS systems for a MODBLKS online change. IMS3 is the prepare master because it builds all of the output lines. Because the FRCABND and FRCNRML options are specified when the online change command is issued, any IMS systems that are down are permitted to perform the online change. IMS2, SYS3, and IMS3 are in the OLCSTAT data set, so they will participate in the online change.
  3. The INIT OLC PHASE(COMMIT) is issued to commit the online change. IMS2, IMS3, and SYS3 all successfully complete the online change. The commit master, IMS3, reports the new online change libraries, MODBLKSB, ACBLIBA, and FMTLIBA, and the new modify ID of 2.
  4. Another QRY OLC LIBRARY(OLCSTAT) SHOW(ALL) command is issued to show the new online change libraries and the new modify ID of 2.

    The following sample output represents 4 responses to the 4 commands described in this scenario:

Response for: QRY OLC LIBRARY(OLCSTAT) SHOW(ALL)
MbrName  CC  Library  ACBLIB  FMTLIB  MODBLKS  Modid  DSName        LastOLC    MbrList
IMS3     0   OLCSTAT    A     A       A        01     IMSTESTL.IMS.OLCSTAT     SYS3,IMS2,IMS3

Response for: INIT OLC PHASE(PREPARE) TYPE(MODBLKS) OPTION(FRCABND,FRCNRML)
MbrName  Member     CC ACBLIB FMTLIB MODBLKS    Modid                
IMS3     IMS2       0                                            
IMS3     SYS3       0                                            
IMS3     IMS3       0       A      A      A        1 

Response for: INIT OLC PHASE(COMMIT)
MbrName  Member     CC ACBLIB FMTLIB MODBLKS    Modid                
IMS3     IMS2       0                                            
IMS3     SYS3       0                                            
IMS3     IMS3       0      A      A       B         2

Response for: QRY OLC LIBRARY(OLCSTAT) SHOW(ALL)               
MbrName  CC  Library  ACBLIB  FMTLIB  MODBLKS  Modid  DSName        LastOLC    MbrList
IMS3      0   OLCSTAT    A        A        B       02  IMSTESTL.IMS.OLCSTAT  MODBLKS  SYS3,IMS2,IMS3