Exporting and migrating object sets using the online interface


BMC AMI Recovery Manager

 enables you to convert object set definitions into CREATE OBJECT SET syntax and write them to a specified data set. You can then either keep the data set as a backup or use it to migrate the converted definitions to another Db2 subsystem.

Exporting and migrating object set definitions involves the following steps:

  1. Use the online interface to prepare ARMBGRP syntax and JCL. For more information, see Exporting and migrating object sets.
  2. Execute the ARMBGRP batch program. For more information, see ARMBGRP-Object-set-creation-and-maintenance.

You can now perform an online recovery health check from the Object Set List Panel. From the Object Set List panel (ARMGP001), select option H to display the new ARMGH001 panel. From this panel, you can verify whether you can recover from the object set using recoverability options such as Unrecoverable Events, Archive Log availability, and Image Copy Frequency.

Exporting and migrating object sets

Use the following procedure and the online interface to export and migrate object sets.

Before you begin

The following software must be installed on all target subsystems:

  • BMC AMI Recovery Manager
  • A version of Db2 that BMC AMI Recovery Manager supports

To export and migrate object sets using the online interface

  1. From the BMC AMI Recovery for Db2 Main Menu, select 1. Appl object sets, and enter an object set name or wildcard pattern to display one or more object sets.
  2. On the Object Set List panel, select the object sets whose definitions you want to export and press Enter:

    • To select a specific object set or object sets, type X next to each one.
    • To export all object sets to the export file, type XA.
    ARMGP001 ====================== Object Set List ================== Row 1 of 79
    Command ===> ________________________________________________ Scroll ===> PAGE
                                                                                  
    Type CREATOR.OBJECTSET name or pattern. Then press Enter.                      
      Name or pattern . . . . . . . . %.%____________________________              
      Object Set list disposition . . 2 1. Replace  2. Add  3. Exclude             
    Type Action to process selected value. Then press Enter.                       
      A=About        S=Select          B=Backup       J=Recover      R=Report      
      D=Delete      SA=Select all     BA=Backup all  JA=Recover all RA=Report all  
      C=Change Name  F=Specifications  G=Create JCL  GA=Create all   H=Health Check
      K=ARMBGRP JCL  M=MODIFY JCL      O=Util Options P=Progress Rpt               
      X=Export      XA=Export all                                                  
                                                                             Number
    Act Prv Creator  Object Set         Description         Updated          Objs  
    __      ACPIE    MC4005             ACPIE01 DSNUM ALL   2022-04-21-11.34     6
    __      ACPIE    MD00215            ACPIE94 DSNUM ALL   2022-05-09-14.25     1
    __      AFR      CABRTS1D           TEST CABRTS1D       2022-02-15-06.47    48
    __      AFR      KIMESTPR           TEST KIMESTPR       2022-02-15-07.16    70
    __      AFR      KITRCVR4           TEST KITRCVR4       2022-02-15-07.24    30
    __      AFR      MA0007             TEST MA0007         2022-05-16-15.08    66
    __      AFR      MA0008             TEST MA0008         2022-05-16-15.17    54
    __      AFR      MA0010             TEST MA0010         2022-05-16-15.25    65
    __      AFR      MA0011             TEST MA0011         2022-05-16-17.08    66
    __      AFR      MA0012             TEST MA0012         2022-05-16-16.20    66

    BMC AMI Recovery Manager generates ARMBGRP EXPORT JCL for the specified object sets.

  3. On the Batch Object Set Export/Migrate JCL Generation panel, select one or more target SSIDs for the export:

    • Select one of the displayed options to export to all SSIDs on the LPAR, the currently active SSIDs, or specific SSIDs that you will select.
    • If you chose to select specific SSIDs (option 3), select them from the displayed list, and specify the DD card to which BMC AMI Recovery Manager should write the exported object set definitions.

      Important

      The specified SSIDs must be active. Do not specify an SSID that is the same as the SSID for the currently connected subsystem. BMC AMI Recovery Manager eliminates duplicate SSIDs.

    • Press Enter.
    ARMGJ003 ========= Batch Object Set Export/Migrate JCL Generation ============
    Command ===> _____________________________________________________
    Type information below. Then press Enter.                                
      Type ARMEXPRT DD statement for ARMBGRP JCL output (including //).      
        //ARMEXPRT  DD _____________________________________________
        ____________________________________________________________
        ____________________________________________________________
                                                                            
      NOTE: This must be a complete data definition, including member name   
            if the data set is partitioned.  The LRECL must be 80.

      Add Object Set name or pattern (optional) _______________________________________________________           
                 
      NOTE: This cane be an explicit object set name or contain wildcard characters.                                                        
     
      Migrate object set(s) to ssid (optional)                                    
         _  1. All SSIDs defined on this LPAR                                
            2. All currently active SSIDs on this LPAR                       
            3. Select SSIDs from a list                                      
                                                                            
      NOTE: Recovery Manager must be installed on all target SSIDs.         
            SSIDs with a DB2 version that is not supported will be bypassed.
    ARMGJ004 ======= Batch Object Set Export/Migrate JCL Generation == Row 1 of 76
     Command ===> _________________________________________________________________
                                                                                   
     Recovery Manager must be installed on all target SSIDs.                        
     Type S to select desired SSIDs.  Then press Enter.                             
                                                                                   
     Option   SSID   DB2 Version  Status     DB2 Mode   Data Sharing  RMGR Installed
       _      DEBA     1110       ACTIVE     NFM             N              N       
       _      DECD     121510     ACTIVE     V12R1M500       N              N       



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*