

Autogen Action Option › How to Automatically Generate "Using" Elements with Autogen › Autogen and Autogen Span Processing Examples › Example 2: Autogen Span All
Example 2: Autogen Span All
In this example, a developer changes COPYC1 in DEV Common SYSTEMC, Subsystem SUB1, and then wants to automatically generate all using elements that use the copybook in all Systems and Subsystems. To do this, the developer performs the following Generate with Autogen Span All request:
GENERATE ELEMENT 'COPYC1'
FROM ENVIRONMENT 'DEV'
SYSTEM 'SYSTEMC'
SUBSYSTEM 'SUB1'
TYPE COPYBOOK
STAGE NUMBER 1
OPTIONS CCID REQ#43023
COMMENT 'EDIT COMMON COPY BOOKS'
COPYBACK
AUTOGEN SPAN ALL .
The effects of this GENERATE request are as follows:
- Copybook COPYC1 is copied back and generated at DEV/SYSTEMC/SUB1/1.
- Element PGMC1, located up the map at PRD/SYSTEMC/SUB1/2 is generated at DEV/SYSTEMC/SUB1/1 as a NOSOURCE element.
- Element PGMC2, located outside the map at PRD/SYSTEMC/SUBC/2 is generated at DEV/SYSTEMC/SUBC/1 as a NOSOURCE element.
- Element PGMC1, located outside the map at PRD/SYSTEM1/SUB1/2 is generated at DEV/SYSTEM1/SUB1/1 as a NOSOURCE element.
- Element PGMC2, located outside the map at PRD/SYSTEM1/SUB2/2 is generated at DEV/SYSTEM1/SUB2/1 as a NOSOURCE element.
- Element PGMC, located outside the map at DEV/SYSTEM2/SUB1/1 is generated in place.
- Element PGMC, located outside the map at PRD/SYSTEM2/SUBA/2 is bypassed because Autogen Span attempts to build the generate request with PGMC’s system and subsystem at the target environment, but DEV/SYSTEM2/SUBA/1 does not exist.
- Element PGMC1, located outside the map at PRD/SYSTEM3/SUB1/2 is generated at DEV/SYSTEM3/SUB1/1 as a NOSOURCE element.
- Element PGMC2, located outside the map at PRD/SYSTEM3/SUB2/2 is generated at DEV/SYSTEM3/SUB2/1 as a NOSOURCE element.
- Element PGMC, located outside the map at EMER/SYSTEM2/SUB1/2 is unaffected, since EMER is not in the environment map of component, COPYC1.
Now the developer can complete his testing, and create a package with Move actions that includes all the effected elements.
After an Autogen Span All— The following graphic shows results after a Generate with Autogen Span All request is performed on COPYC1 at the target location Environment ‘DEV’, Stage 1, System ‘SYSTEMC’, Subsystem ‘SUB1'.

Copyright © 2014 CA.
All rights reserved.
 
|
|