Previous Topic: Autogen Action Option EnhancementsNext Topic: Autogen with Copyback


Autogen Action Option Spans Systems and Subsystems

The Autogen feature is enhanced to include cross-System and cross-Subsystem support. Previously, only using elements that were located in the same logical map as the component were generated. This enhancement allows using elements found in Systems and Subsystems not in the same map as the component being acted upon to be generated. Automating the task of locating and generating all using elements saves the user time and effort.

Note: A using element is an element that uses the component element that is the target of an Add , Update, or Generate action. For example, if Autogen is specified for copybook, COPYA, then the programs that use that copybook are known as using elements.

Specifically, the Autogen action option is enhanced to add the Span parameter. Autogen generates only those using elements that are in the same logical map as the target component. Autogen Span also generates using elements that are found in different Systems and Subsystems within the Environment and Stage of the logical map. Using elements are generated at the target Environment and Stage specified in the Autogen request, but in the System and Subsystem of the using element. The Span enhancement makes it easy to locate and generate using elements across Systems or Subsystems.

For all Autogen and Autogen Span results, any generated elements that are not currently at the target location are brought back as sourceless elements. Also, using elements are not generated if they are located in unmapped Environments or they are located lower in the map than the target location of the component. The Span option is ignored unless Autogen is enabled. The following values are valid for the Autogen option: