Associating object sets with action services


After you have defined your object set, you need to associate them with a service. By associating an object set for a service you are designating what objects the services is to process. Associating an object set with a service is accomplished while working with actions. More specifically, you specify the object set for an action service.

There are three methods for associating an object set to a service:

Associating a new object set with an action service

This method is used to create a new object set on demand. Use the following procedure to create and associate an on demand object sets

  1. On the DASD MANAGER PLUS main menu select Service Actions and press Enter.
  2. On the Service Actions menu, enter an Action name, select Edit Services for an Action, and press Enter.

    Important

    As an alternative method, perform the following steps to open the Object Set List from the main object set panel:

    1. Select List and specify a wildcard pattern for the object set name.
    2. Type E in the Act field next to an action and press Enter.

    The Edit Action Services panel is displayed.

    DEMO --------------- Edit Action Services ---------------     Row 1 to 1 of 1  
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Action: PAYROLL.DEMO01                                                         
                                                                                  
    Listed is the ordered set of Services contained in the Action. Select one or   
    more options. Then press Enter.                                                
                                                                                  
    D =Delete  I =Insert  L =Like  A =After  B =Before  M =Move  P =Properties     
    S =Syntaxes  O =Syntax Options  V =View Syntax  U =Use default syntax          
    OS =Object Set                                                                 
                                                                                  
                                                                     More:       >
    Act Service   Object Name/Pattern  Type  Part  Object Set Name     Syntax Name
    *** **************************** Top of data **********************************
        BMCREORG                                                       (D)BMC_DEFAU
    *** *************************** Bottom of data ********************************
  3. In the Act field, enter OS, blank out or leave the Object Set Name field blank, and press Enter.
  4. Follow the instructions provided in Creating-an-object-set to create an object set.When you have finished creating the object set, the newly created object set is automatically associated with the action service.

    DEMO --------------- Edit Action Services ---------------     Row 1 to 1 of 1  
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Action: PAYROLL.DEMO01                                                         
                                                                                  
    Listed is the ordered set of Services contained in the Action. Select one or   
    more options. Then press Enter.                                                
                                                                                  
    D =Delete  I =Insert  L =Like  A =After  B =Before  M =Move  P =Properties     
    S =Syntaxes  O =Syntax Options  V =View Syntax  U =Use default syntax          
    OS =Object Set                                                                 
                                                                                  
                                                                     More:       >
    Act Service   Object Name/Pattern  Type  Part  Object Set Name     Syntax Name
    *** **************************** Top of data **********************************
        BMCREORG                                   PAYROLL.DEMO01      (D)BMC_DEFAU
    *** *************************** Bottom of data ********************************

  5. (optional) If you need to add or remove objects from the object set definition, type OS in the Act field and press Enter.The Specify Object Set panel is displayed.

Associating an existing object set with an action service

This method is used to specify an existing object set by either specifying the name or by selecting the object set from a list. Use the following procedure to associate an existing object set.

  1. On the DASD MANAGER PLUS main menu select Service Actions and press Enter.
  2. On the Service Actions menu, enter an Action name, select Edit Services for an Action, and press Enter.

    Important

    As an alternate method, you can open the Edit Services for an Action panel as follows:

    1. Select List and specify a wildcard pattern for the action name.
    2. Type E in the Act field next to an Action and press Enter.

    The Edit Action Services panel appears.

    DEMO --------------- Edit Action Services ---------------     Row 1 to 1 of 1  
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Action: PAYROLL.DEMO01                                                         
                                                                                  
    Listed is the ordered set of Services contained in the Action. Select one or   
    more options. Then press Enter.                                                
                                                                                  
    D =Delete  I =Insert  L =Like  A =After  B =Before  M =Move  P =Properties     
    S =Syntaxes  O =Syntax Options  V =View Syntax  U =Use default syntax          
    OS =Object Set                                                                 
                                                                                  
                                                                     More:       >
    Act Service   Object Name/Pattern  Type  Part  Object Set Name     Syntax Name
    *** **************************** Top of data **********************************
        BMCREORG                                                       (D)BMC_DEFAU
    *** *************************** Bottom of data ********************************
  3. Specify the name of the object set in the Object Set Name field.If you do not know the name:

    1. Enter OS in the Act field.
    2. Enter a wildcard pattern in the Object Set Name field
    3. Press Enter.

    The Object Set Selection List panel appears.

    DEMO ------------------------ Object Set Selection List ------ Row 1 to 2 of 2
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Object Set: PAYROLL.%                                                          
                                                                                  
    Select an Object Set. Then press Enter.                                        
                                                                                  
    Act Owner   Name                    Description                                
    *******************************************************************************
        PAYROLL DEMO01                  OBJECT SET FOR PAYROLL                     
        PAYROLL DEMO02                  OBJECT SET FOR PAYROLL 2                   
    ******************************* Bottom of data ********************************
  4. Enter S in the Act field next to the required object set and press Enter.The selected object set is automatically associated with the action service.
  5. (optional) If you need to add or remove objects from the object set definition, enter OS in the  Act field and press Enter.This displays the Specify Object Set panel.

Associating an existing object set with a new action

Use this procedure to specify an existing object set while defining a new action.

  1. On the DASD MANAGER PLUS main menu select Service Actions and press Enter.
  2. On the Service Actions menu, enter an new Action name, select Create a new Action.
  3. In the Create Action panel, enter a unique Action name, optionally enter a description, and press Enter.The Action Object Specification panel appears.

    DEMO ----------------------- Action Object Specification ----------------------
    Command ===>                                                                   
                                                                                  
    Action  . : PAYROLL.DEMO03                                                     
                                                                                  
    Please specify object information for the Service to use. Object information   
    may consist of an Object Set, a fully qualified object name, or a wildcard     
    pattern. Then press Enter.                                                     
                                                                                  
    Object Set                                                                     
       Name . . PAYROLL.DEMO02               (%= Object Set Select List)           
                                                                                  
    Object Name or Pattern                                                         
      Name  . .                                                                    
      Type  . .        (IS,IX,SG,TS,TT,VL)                                         
      Part  . .        (1-4096 and not valid for wildcarded name)
  4. Perform one of the following actions to select an existing object set:

    • In the Object Set Name field, enter the name of an existing object set, and press Enter.
    • Look up an Object set name:
      1. Enter a wildcard pattern in the Object Set Name field.
      2. Press Enter.

        The Object Set Selection List is displayed.

        DEMO --------------------- Object Set Selection List ---- Row 1 to 10 of 10
        Command ===>                                               Scroll ===> CSR  
                              
        Object Set: P%.%       
                              
        Select an Object Set. Then press Enter.
                                              
        Act Owner   Name                    Description
        ****************************************************************************
            PAYROLL DEMO01                  OBJECT SET FOR PAYROLL                 
            PAYROLL DEMO02                  OBJECT SET FOR PAYROLL 2               
            POFGEN  OS0001                                                         
            PUBLIC  ACPMRDB_ALL             DSNUM ALL                              
            PUBLIC  JLW_ONLINE              JLW TEST FOR SG DYNAMIC S              
            PUBLIC  JLW_ONLINE2             JLW TEST FOR SG DYNAMIC S              
            PUBLIC  JLW_ONLINE3             JLW TEST FOR SG DYNAMIC S              
            PUBLIC  JLW_SG                  SQL SG                                 
            PUBLIC  JTRPLANS                                                       
            PUBLIC  PG_TEST4                                                       
        ******************************* Bottom of data ****************************
      3. In the Act field type S to select an object set and press Enter.

    The Action Object Specification panel is updated with your selection.

  5. Press Enter.The Service Selection List is displayed.

     DEMO ------------ Service Selection List ------------       Row 1 to 27 of 42  
     Command ===>                                                  Scroll ===> PAGE
                                                                                   
     Action: MVSJXE1.27                                                             
                                                                                   
     Select one or more Services for the Action to execute. (C)copy Service from    
     the Available Services by indicating position in Selected Services using       
     (A)fter/(B)efore. Then press Enter.                                            
                                                                                   
     Selected Actions : L =Like    A =After  B =Before  M =Move  D =Delete          
     Available Actions: S =Select  C =Copy                                          
                                                                      More:     +   
     Act        Service   Vendor  Description                                       
     ******************************** Top of data **********************************
          SELECTED SERVICES                                                         
            1   <none>            Add Services here                                 
            2   BMCREORG   BMC     BMC REORG PLUS                                    
          AVAILABLE SERVICES                                                        
                _          USR                                                      
                ALTERSEC   BMC    BMC DASD MGR ALTER SECONDARY ALLOCATION           
                BMCCPRS    BMC    BMC DASD MGR COPY CATALOG STATS                   
                BMCLOAD    BMC    BMC LOAD PLUS                                     
                BMCREORG   BMC    BMC REORG PLUS                                    
                BMCSTATS   BMC    BMC DASD MGR BMCSTATS                             
                BMCTRIG    BMC    DASD MGR DETECT EXCEPTIONS AND TRIGGER UTILITIES  
                BMCUNLOD   BMC    BMC UNLOAD PLUS                                   
                BMCUPRS    BMC    BMC DASD MGR UPDATE CATALOG STATS                 
                CHEK DA    IBM    DB2 CHECK DATA                                    
                CHEK LOB   IBM    DB2 CHECK LOB                                     
                DSNCOPY    USR                                                      
                DSN1COPY   IBM    DB2 DSN1COPY                                      
                EMAIL      USR                                                      
                FULLCOPY   IBM    DB2 FULL IMAGE COPY                               
                IKJEFT01   USR                                                      
                INCRCOPY   IBM    DB2 INCREMENTAL IMAGE COPY                        
                LOAD       IBM    DB2 LOAD                                          
                MERGCOPY   IBM    DB2 MERGE COPY                                    
                MODICOPY   IBM    DB2 MODIFY RECOVERY                               
                MODISTAT   IBM    DB2 MODIFY STATS  
                AMICOPY    BMC    BMC AMI COPY                                   
                AMICOPYI   BMC    BMC AMI COPY IMAGECOPY
                AMIMOD     BMC    BMC AMI COPY MODIFY
                QUIESCE    IBM    DB2 QUIESCE
  6. Select the Service by entering S in the Act field and press Enter.The selected service is automatically associated with the action service.
  7. Click END to return to the Edit Action Services panel.
  8. Continue with the remaining panels to complete the Action definition.

 

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