Creating an object set


Use this procedure to create an object set outside a Service Action by using the Object Sets option on the Main Menu.

GUID-47E5A770-A760-442A-9F5A-06872981813D-low.png

For more information, view the Quick Course 'DASD MANAGER PLUS—Creating object sets.'

To create an object set

  1. On the DASD MANAGER PLUS Main Menu, select Object Sets and press Enter.The Object Sets menu panel is displayed.

    DEMO ----------------------------- Object Set Menu ----------------------------
    Command ===>                                                                   
                                                                                  
    An Object Set is an ordered group of DB2 Objects. Type a specific Object Set   
    or type a wildcard pattern for a selection list.                               
                                                                                  
    Object Set . . . BMCDE30.FIOBJSET01                                           
                                                                                  
    Select an option. Then press Enter.      
     2 1. List                                                                     
       2. Create a new Object Set                                                  
       3. Edit an Object Set Specification                                         
       4. Edit an Object Set Properties                                            
       5. Rename an Object Set                                                     
       6. Copy an Object Set                                                       
       7. Delete an Object Set                                                     
       8. View Object Set Result Set                                               
       9. List Action Impact
  2. In the Object Set field, enter an object set name in the form of owner.name (up to 8 characters for owner and up to 18 characters for name) and press Enter.Valid characters for the object set are as follows:

    • A–Z (upper case only)
    • 0–9
    • @ # $ & - / and space

    Together, the owner name and object set name must form a unique name. The default owner name is your TSO logon ID. The product does not support delimited names. For more information about the owner name, see Controlling-access-to-Object-Sets.

    DASD MANAGER PLUS validates that the owner.name does not already exist on the subsystem.

  3. Select Create a new object set and press Enter.The Create Object Set panel appears:

    DEMO ---------------------------- Create Object Set ---------------------------
    Command ===>                                                                   
                                                                                  
    Type new Object Set data. Then press Enter.                                    
                                                                                  
    Object Set . . . . BMCDE3O.FIOBJSET01
                                                                                  
    Description  . . .

    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 C in any Act field and press Enter.
  4. On the Create Object Set panel, optionally enter an object set description and press Enter.

    Important

    The object set name that you specified on the Object Set Main menu is carried forward. You can change the object set name if necessary.

    The Specify Object Set panel is displayed.

    DEMO  ---------------------- Specify Object Set ----------     Row 1 to 1 of 1
    Command ===>                                                  Scroll ===> CSR  
                                                                                  
    Object Set: BMCDE30.FIOBJSET01                                                 
                                                                                  
    I =Insert L =Like D =Delete E =Edit C =Copy M =Move A =After B =Before         
    S =SQL text (for type SQ)   X =Expand Wildcard                                 
                                                                                  
    Include/Exclude options:  Plus sign  = Include,  Minus sign  = Exclude.        
    Object types: TS, IX, TB, SG, PL, PG, IS, OS, SQ                               
                                                                     More:       >
        Incl/ Obj  Name or                       By   Begin End        Include     
    Act Excl  Type Name Pattern                  Part Part  Part  IX RI LOB XML HST
    *** ******************************** TOP **************************************
        +                                          N      0     0  N  N  B   B   B
    *** ******************************* BOTTOM ************************************
  5. Enter the following information:

    In this field

    Enter this information

    INCL/EXCL

    Plus (+) sign to include, or minus (-) sign to exclude.

    Obj Type

    TS, IX, TB, SG, PL, PG, IS, OS, or SQ

    Name or Name Pattern

    Type a name or name pattern

    By Part

    Type Y if you want to specify partition numbers, or N if you don't want to specify partition numbers.

    Begin Part

    Enter partition numbers. If you entered N in the By Part field, these values are set to zero.

    End Part

    INCLUDE OPTIONS

    IX

    Type Y to include these objects, or N to exclude them.

    RI

    LOB

    Type Y to include these objects, or N to exclude them.

    Type B to include base objects and exclude auxiliary objects.

    Type O to exclude base objects and include auxiliary objects that match the naming pattern.

    XML

    HST

    ACH

    Description

    (optional) Enter a description.

    Important

    If you enter OS in the Obj Type field, DASD MANAGER PLUS ignores the specification fields to the right of the Name or Name Pattern field. Therefore, you cannot use the By Part, Begin Part, End Part, Include IX, Include RI, Include XML, Include HST, and Include ACH fields to further qualify an Object Set.

    For more information about how DASD MANAGER PLUS interprets patterns based on object type, see Patterns-for-object-sets.

  6. (optional) Use the following commands to edit the object set:

    • I inserts a line for you to add a new specification.
    • L inserts a line that repeats the previous line (for faster editing).
    • D deletes a specification line.
    • E displays the Object Set Specification Edit panel. This panel displays the line in detail format.
    • C copies a line to another location. You must use the A(fter) or B(efore) in the Act column to designate a destination for the copied line.
    • M moves a line to another location. You must use the A(fter) or B(efore) in the Act column to designate a destination for the moved line.
    • A designates the line after the current line as the destination for the Move or Copy action.
    • B designates the line before the current line as the destination for the Move or Copy action.
    • S allows you to add SQL for a SQ-type specification.
    • X expands wild cards that you have entered.

    Important

    Use the F4 key to zoom into the contents of a long object name field. Place the cursor over the truncated field and press F4 to see the entire field.

  7. Press END to create the object set.

 

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