Endevor Delete Approver Relation for Stage 2
search cancel

Endevor Delete Approver Relation for Stage 2

book

Article ID: 431231

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

I need to remove an Approver Relation from stage 2 only in an Endevor environment. We would keep the same Approver Relation in stage 1. Is there a way to Wildcard the Systems, Subsys and Types to change all in an SCL statement?

Resolution

There are 3 options to remove an Approver Relation. 

Option 1: Use the Approver Relation Screen

 (4) Environment > (A) Related Group; Spaces in the Inventory Area. Use the "#" command next to each relation you'd like to delete and step through. The commands can be stacked.

Option 2: Use Batch Job. 

1. Build SCL -  .CSIQJCL(ENBE1000) run and save the file for recovery if needed. 

//ENESCLIN DD *                    
  BUILD SCL FOR APPROVER RELATION  
  FROM ENVIRONMENT <xxxx>    
       APPROVER GROUP <xxxx>    
      TO DDNAME SCLOUT  
.  

2. Create a copy of the SCL. This copy can be edited to use for the Delete SCL. Change the commands from Define to Delete, and To to From. Please note to remove any SCL statements for Relations you do not want to delete.

Delete SCL - .CSIQJCL(ENBE1000) run with the Delete SCL. 

NOTE: Wildcard in the Approver Relation panel is used differently than most traditional wildcard methods. Wildcard is used to apply the Approver Relation to multiple criteria in an environment, it is seen as an actual value in the Delete Approver Relation Syntax. Therefore, to use the Delete Approver Relation SCL, an SCL statement must exist for each relation that you'd like to delete.

//ENESCLIN DD *                     
  DELETE APPROVER RELATION          
FOR  APPROVER GROUP "<xxxx>"      
FROM ENVIRONMENT "<xxxx>"      
      SYSTEM "*"                    
      SUBSYSTEM "*"                 
      TYPE "*"                      
    STAGE ID <x>                  
      TYPE STANDARD                 
  .                                 

Option 3: If there SCL above requires to much manual editing, example if the Approver Relation is in both stages and in multiple types etc. The Endevor Table Tool can be used. Please see KD 435147

Additional Information

Delete Approver Relation Syntax

Build SCL for Approver Relation Syntax

Table Tool