LIST ELEMENT action results - Misleading sequences
search cancel

LIST ELEMENT action results - Misleading sequences

book

Article ID: 95404

calendar_today

Updated On:

Products

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

Issue/Introduction

Why is the sequence of SCL statements generated by the LIST ELEMENTS action different in the execution report vs. the output dataset?

Resolution

The LIST ELEMENT action supports wildcards, OPTION SEARCH to search elements up the map and also BUILD WITH COMPONENTS to expand component lists. This may potentially result in the same element being found more than once.

The results of the query are printed to C1MSGS when the elements are found. This is useful, for example, as it gives a rough idea about why the element shows up in the list.

However, writing duplicate actions for the same element in the output file might be problematic. For this reason, once all the elements have been found, the list is sorted by environment, system, subsystem, type and stage name in order to remove duplicates. Once sorted, the list is written to the output file.