Previous Topic: How the Autogen Action Option Affects ProcessingNext Topic: How Autogen Span Options Work


How to Code Autogen

To automatically generate using elements, you can add one of the Autogen action options to an Add, Update, or Generate action in batch. This procedure describes how to perform this task from the foreground batch panels. As an alternative to performing batch tasks in foreground, you can perform batch tasks from the ISPF Menu.

  1. Select option 3, Batch, from the Primary Options Menu.

    The Batch Options Menu opens.

  2. Complete the fields as appropriate for your task. Select option 1, BUILD SCL and press Enter.

    The SCL Generate panel opens. This panel allows you to select the type of action request you want to generate,

  3. Specify the option number that corresponds to the action (Add/Update or Generate) that you want to perform and then press Enter.

    After you press Enter, the action panel opens that corresponds to the action option you selected.

  4. Code the Add, Update, or Generate action to include one of the following Autogen action options and verify that Bypass Generate Processor option is not set.
    AUTOGEN

    Generates all elements that use the component that is the target of the action. These using elements are generated at the target location that is specified in the SCL statement. If they do not exist at the target location, they are brought back to the target location as sourceless or sourced elements, depending on the Optional Features table (ENCOPTBL) setting. To find out how the SOURCE_OPTION parameter is set in ENCOPTBL, contact your CA Endevor SCM administrator. If you specify AUTOGEN or AUTOGEN SPAN NONE in CA Endevor Quick Edit or from the Foreground Batch panel, the SCL is written as “AUTOGEN SPAN NONE”.

    AUTOGEN SPAN NONE

    Generates all elements that use the component being acted upon. This option has the exact same effect as the option "AUTOGEN."

    AUTOGEN SPAN ALL

    Generates using elements that are found in any System and Subsystem combinations within the Environment and Stage of the component's logical map.

    AUTOGEN SPAN SYSTEMS

    Generates using elements that are found in any System, provided the element's Subsystem name matches the name of the Subsystem of the target component. Only Systems found within the Environment and Stage of the component's logical map or higher up the map are searched. This option is different from the Autogen option in that it includes additional Systems with the same Subsystem name in the search.

    AUTOGEN SPAN SUBSYSTEMS

    Generates using elements from all Subsystems with the same-named System of the component specified. Only Subsystem found in the System of the target component within the Environment and Stage of the component's logical map or higher up the map are searched. This option is different from the Autogen option in that it includes additional Subsystems with the same System in the search.

    Your SCL statement for the Add/Update or Generate request include the Autogen option of your choice.

Note: Autogen, or any of the Autogen Span action options, can be specified in a Set Options statement. The Set Options statement tells CA Endevor SCM to apply one or a series of options to all subsequent actions, until the next Set Options statement or a Clear Options statement is encountered, or processing ends. If you enter an option in the element action statement and have coded that option in the Set Options statement, the entry in the action statement overrides the Set Options selection.