Site has the same element under different subsystems in production. This is making it difficult to determine the actual production source.

Document ID : KB000022220
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

Site is having problem with duplicate elements in different subsystem. How to prevent this from happening ?

 

Solution:

DUPLICATE OUTPUT/TYPE CHECK ACROSS SUBSYSTEM is now available. This enhancement expands the element processor output registration capability to prevent duplicate element names across Subsystems defined to a specific System. The purpose of this enhancement is to prevent unintentional overlays of same-named processor output library members.

Element Registration at Processor Group Level Can Extend to the Subsystem Level

The Element Registration feature at the processor group level can now be set to apply at the Subsystem level. Element Registration at the processor group level lets you control whether two elements with the same name, but with different element types, can exist in the same System when both elements are associated to processors groups with the same processor output type. The restriction can be set to all Systems or within a specific System. The purpose of the option is to prevent unintentional overlays of processor output library members that have the same name. This enhancement extends the restriction to the Subsystem level. The enhancement searches for duplicate element names at the processor group level across Subsystems defined to a specific System. Specific Subsystems can be excluded from the search.

How to Enable Element Registration for Processor Groups at Subsystem Level

The Element Registration feature for processor groups can be enabled in a System definition to apply to all Subsystems within the System. To exclude any Subsystem, the Subsystem definition must be set to exclude it from the search. The administrator can set the options for the System and Subsystem definitions in foreground or batch.

To enable Element Registration for processor groups at the Subsystem level in foreground, set the following parameters:

  • On the System Definition panel, set the following fields:

    DUP PROC O/P TYP=Y - Checks element names across types and processors groups for the same processor output type. A conflict occurs if you attempt to add or create an element and an element with the same name and processor output Type exists in the same System, with a different Type.

    ACROSS SBS=Y - Extends the check for duplicate processor output Types to all the Subsystems defined to this System. The check compares the processor output Type of the current action against all processor output Types of all same named elements in the different Subsystems of the same System. If any are equal, the current action fails with a registration error.

  • On the Subsystem Definition panel, to exclude the Subsystem from the check, set the following field:

    EXCLUDE FROM DUPLICATE ELEMENT PROC O/P TYPE CHECK=Y - Excludes this Subsystem from the check.

To enable Element Registration for processor groups at the Subsystem level using Batch Administration, set the parameters as follows:

  • In the SCL statement Define System, to create or update a System definition, include the option:

    DUPLICATE PROCESSOR OUTPUT TYPE CHECK IS ACTIVE ACROSS SUBSYSTEMS - Extends the check for duplicate processor output Types to all the Subsystems defined to this System. The check compares the current processor output type of the action against all processor output types of all same named elements in the same System, different Subsystems. If any are equal, the current action fails with a registration error.

  • In the SCL statement Define Subsystem, to exclude the Subsystem from the check, set the following field:

    EXCLUDE DUPLICATE PROCESSOR OUTPUT CHECK - Excludes this Subsystem from the check.

Note: To activate Element Registration across all Systems at the processor group level, the following parameter must be set in the Optional Features table (ENCOPTBL):

ENHOPT ELM_REG_CHK_OUTPTYPE_ACROSS_SYSTEMS=ON

Note: For processor groups, you can define an output Type or use the default output Type. The default processor output Type is a concatenation of the element type and the processor group name. Using the default can help you avoid duplicates.