Scenario 1: a successful global online change where all IMS systems use MODBLKS=OLC

This scenario shows the output returned to the TSO SPOC as the result of the 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 four responses to the four 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