Making an Alternate CDS the Primary CDS

In this example, the alternate LOGR couple data set is made the new primary CDS. A new alternate CDS is automatically generated.

To switch the LOGR couple data set, enter P before LOGR on the panel displayed in Figure 1, and press Enter. INGPLEX CDS displays the confirmation panel shown in Figure 1.

Figure 1. Confirmation Panel for Switching from the Current Primary CDS to the Alternate CDS
 INGKX30A                  SA z/OS  - Command Dialogs                           
 Domain Id . : IPSFP   ---------- INGPLEX CDS -----------   Date . . : 01/26/18
 Operator Id : NETOP1          Sysplex = KEY1PLEX           Time . . : 09:04:33 
                                                                                
                                                                                
                         SETXCF PSWITCH Confirmation                            
                                                                                
 You are going to remove the LOGR    primary couple data set.                   
 The alternate couple data set  SYS1.KEY1.ALOGCDS                               
 becomes the primary as soon as you proceed with the GO function key.           
 Immediately after the switch, automation will try to allocate a new alternate  
 couple data set on one of the spare volumes defined during the customization.  
 If you want the automation to allocate your own alternate couple data set      
 complete the necessary information below.                                      
                                                                                
   Your alternate couple dataset...                                             
                                                                                
      Name   ==>                                                                
                                                                                
      Volume ==>                                                                
                                                                                
 Command ===>                                                                   
              F2=End       F3=Return                              F6=Roll       
                                       F10=Go       F11=Cancel   F12=Retrieve   

Use this panel to determine how a new alternate CDS is to be created after the switch. You can either specify your own new alternate CDS or let SA z/OS create it for you. When you specify the new alternate CDS yourself, the data set must exist and must have been formatted with the XCF formatting tool. Automatic creation requires that spare volumes have been defined for LOGR couple data sets.

Pressing F10 causes SA z/OS to generate the new alternate CDS. After returning to the CDS command dialog, refreshing the panel, and scrolling down with F8, the panel looks as shown in Figure 2.

Figure 2. INGPLEX CDS Command Dialog Panel after the Switch
 INGKX300                  SA z/OS  - Command Dialogs       Line  13   of 21
 Domain Id . : IPSFP   ---------- INGPLEX CDS -----------   Date . . : 01/26/18
 Operator Id : NETOP1          Sysplex = KEY1PLEX           Time . . : 09:04:52
 
 SAplex  . . . . . ==> KEY4PLEX________  COUPLExx . . . . . : COUPLESY
 Interval  . . . . . : 900               OPNotify . . . . . : 900
 Maxmsg  . . . . . . : 99999             Cleanup  . . . . . : 30
 Retry . . . . . . . : 255               Classlen . . . . . : 956
 Max CFlevel . . . . : 20                Max SMlevel  . . . : 20
 SMREBLD . . . . . . : 1

 Cmds: A allocate alternate CDS  / C display CHPIDs
       D display CDS information / P switch alternate CDS to primary CDS

     Type        MS   Volume  Dev   Couple Dataset Name
     --------    --   ------  ----  --------------------------------------------
  _  LOGR
      PRIMARY..: 32   KEY1XP  483D  SYS1.KEY1PLEX.ALOGCDS
      ALTERNATE: 32   AUCUSR  262D  AOC.CDS.TEST.LOGR.CDS02
  _  SFM


 Command ===>
 F1=Help      F2=End       F3=Return                              F6=Roll
 F7=Backward  F8=Forward   F9=Refresh                            F12=Retrieve

The previous alternate LOGR CDS has become the primary, and there is a new alternate, which was created by SA z/OS.