Performing global changes to Processor symbolic values
search cancel

Performing global changes to Processor symbolic values

book

Article ID: 25068

calendar_today

Updated On:

Products

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

Issue/Introduction

When having to change symbolic values in a processor, it is difficult to know if the processors code have been changed or if the symbolic has been overridden.
Is there a solution that allows to identify this and update processor or update symbolics ?

Environment

Release: All Supported Release
Component: Endevor

Resolution

Endevor provides two methods to perform global updates to the substitution value assigned to a processor symbolic.

  • The Search and Replace utility (ENBS1000) can be used to update the value coded in the PROC statement of the processor.
    It allows to search in the code Endevor elements for a specific character string.
    It also give the option to replace a character string with a different character string. If a replacement string is coded in the request, the utility replaces the original character string with the second string. 
    The utility then adds the element back into the entry stage of the environment specified in the request. 
    Without replacement string, the element is only searched but not updated. 
    For further information about the Search and Replace Utility, read the Administrating guide at chapter "Search and Replace Utility".
  • The Batch Admin utility (ENBE1000) can be used to update the Processor symbol overrides associated with a Processor group.
    For a mass update of several processors to change overridden processor symbolic, the SCL Batch admin utility ENBE1000 can be used.
    The Batch Admin's "BUILD SCL FOR PROCESSOR SYMBOL" action builds the DEFINE SCL for any overridden processor symbols. The define SCL can be written into a dataset, then edited to perform the desired changes and submitted back through ENBE1000. Upon completion the overridden processor symbols will be updated with the new values. 
    For further details, read the Reference guide, chapter "Manage Environments in Batch (Batch Admin)".

Additional Information

Note:

  • The Site Symbols facility is a good alternative to simplify the management of processors symbolic. 
    When using this feature, the management of symbolics is centralized in one table.
    This way, the change of symbolic is ease because the updated symbolic value will be used by any processor when the symbolic has been coded.
    Any Site Symbols can also be overriden in the processor symbol overrides associated with a Processor group.
    The processor symbolic and the processor symbolic override take precedence against the Site symbolic table. 
    For further information on the Site Symbols Table, read the Administrating guide , chapter "Site Symbols".
  • The BC1PSDEL utility allows to list and remove unused processor symbolic overrides. Symbolic overrides are identified as unused when the corresponding symbolic no longer exists in a processor. 
    For further information about the BC1PSDEL Utility, read the Administrating guide , chapter "Unused Processor Symbol Overrides Utility".

It is recommended to check for overridden symbolics in addition to Search and Replace, as the Search and Replace utility will only update the default value as coded in the processor source, leaving the overridden value as coded.