Example: Create, Change or Delete Policy Relationships for applications in a Policy Database

All of these changes are made in one file.

  1. The data in the text file is initially:
    UPD APL                     - JES2                                      
      RELATIONSHIPS             ( policy replacement )                      
        Relationship Type       : HASMONITOR                                
        Supporting Resource     : JES2MON/MTR/=                             
        Description             : Relationship to JES2 Monitor              
        Sequence Number         :                                           
        Automation              :                                           
        Chaining                :                                           
        Condition               :                                           
    *                                                                       
        Relationship Type       : PREPUNAVAILABLE                           
        Supporting Resource     : VTAM/APL/=                                
        Description             : Delay DRAINJES until VTAM is down         
        Sequence Number         :                                           
        Automation              : PASSIVE                                   
        Chaining                : WEAK                                      
        Condition               : WhenDown                                  
    Change the second relationship for JES2:
    UPD APL                     - JES2                             
      RELATIONSHIPS             ( policy replacement )             
        Relationship Type       : HASMONITOR                       
        Supporting Resource     : JES2MON/MTR/=                    
        Description             : Relationship to JES2 Monitor     
        Sequence Number         :                                  
        Automation              :                                  
        Chaining                :                                  
        Condition               :                                  
    *                                                              
        Relationship Type       : PREPAVAILABLE                    
        Supporting Resource     : VTAM/APL/=                       
        Description             : Edit the description for test
        Sequence Number         : 1                                
        Automation              : PASSIVE                          
        Chaining                : WEAK                             
        Condition               : WhenDown
  2. Add a new relationship to JES3. The data in the text file is initially:
    UPD APL                     - JES3                                      
    * RELATIONSHIPS               no data available                         
    Edit the file as follows:
    ...
    UPD APL                     - JES3                          
      RELATIONSHIPS             ( policy replacement )          
        Relationship Type       : HASMONITOR                    
        Supporting Resource     : JES3MON/MTR/=                 
        Description             : Relationship to JES3 Monitor  
        Sequence Number         :                               
        Automation              :                               
        Chaining                :                               
        Condition               :              
  3. Delete the second relationship from TCPIP (blank all fields or delete all lines for the second relationship). The data in the text file is initially:
    UPD APL                     - TCPIP                                     
      RELATIONSHIPS             ( policy replacement )                      
        Relationship Type       : HASPARENT                                 
        Supporting Resource     : RESOLVER/APL/=                            
        Description             : TCPIP requires RESOLVER for addr xlation  
        Sequence Number         :                                           
        Automation              :                                           
        Chaining                :                                           
        Condition               :                                           
    *                                                                       
        Relationship Type       : HASPARENT                                 
        Supporting Resource     : VTAM/APL/=                                
        Description             : TCPIP is dependent on VTAM                
        Sequence Number         :                                           
        Automation              :                                           
        Chaining                :                                           
        Condition               :                                           
    Edit the file, for example, as follows:
    ...
    UPD APL                     - TCPIP                                   
      RELATIONSHIPS             ( policy replacement )                    
        Relationship Type       : HASPARENT                               
        Supporting Resource     : RESOLVER/APL/=                          
        Description             : TCPIP requires RESOLVER for addr xlation
        Sequence Number         :                                         
        Automation              :                                         
        Chaining                :                                         
        Condition               :                                         
    *                                                                     
        Relationship Type       :                                         
        Supporting Resource     :                                         
        Description             :                                         
        Sequence Number         :                                         
        Automation              :                                         
        Chaining                :                                         
        Condition               :