Endevor ALTER Command Enhancement
search cancel

Endevor ALTER Command Enhancement

book

Article ID: 131104

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

The ALTER command does not allow you to replace a wildcard (*) within an Element Comment. Below is an example of what 

1) you can do 

ALTER ELEMENT ... 
    REPL DESC 'OLD DESC' WITH 'NEW DESC WITH * INSIDE' 

2) but then can not Change it back: 

ALTER ELEMENT ... 
  REPL DESC 'NEW DESC WITH * INSIDE' WITH 'OLD DESC' 

Error: C1BM4100: E118 INVALID "FROM" VALUE ON THE REPLACE CLAUSE 

Problem: in TO-VALUE * is allowed, but in FROM-VALUE it is not. 

Environment

Release: Endevor V18.0

Resolution

To resolve the problem you need to apply Endevor PTF SO07919.  This PTF introduces a new option that is applicable to the Alter Description, Last Action CCID,  
Generate CCID and Retrieve CCID fields and allows for specifying a "from value" that includes place holder (%) or wildcard (*) characters to be matched and not treated as special characters.                    
The exact match option is ignored for the other Alter actions:         
    Processor group, Signout Userid and User Data.                     
                                                                       
For example, with the option "exact match", you could alter:           
    LAST ACTION CCID  'LAST*%%*%**'  WITH                              
                      'LAST ACTION'                                    
                                                                       
Without this new option, the above would be a syntax error.