Processors

ce18
Endevor
allows you to create and maintain processors. Coded using standard JCL, processors instruct
Endevor
to modify, move, verify, delete, or create executable forms of elements. There are three types of processors:
  • Generate processors create listings, object modules, and/or load modules.
  • Delete processors delete generate processor outputs.
  • Move processors move elements from one map location to another.
The term
extended processor
refers to a user-written processor that is defined to
Endevor
. It supplies functionality beyond writing or deleting a member in an output library.
Processor Groups
Processors may be specified in processor groups. A processor group consists of the following:
  • One generate, one delete, and one move processor, or any combination thereof. (For example, a non-executable element may require only a move processor in its processor group. You cannot, however, have multiple processors of the same type in a processor group.)
  • The default symbolic overrides for the processors' JCL.
Processor groups allow you to handle common variations among the members of a particular type quickly and easily. If you create a single set of processors using symbolic parameters, you can create different processor groups using the same set of processors but containing different default symbolic overrides. For example, your site has applications coded in COBOL and COBOL/370. You could define a single type, COBOL, and have two processor groups, one for COBOL II and another processor group for COBOL/370.
Processors and Element Types
Each element type can have multiple processor groups associated with it, but each element within that type must be associated with only one group. When you define the element type, you define one processor group as the default. When you add an element of that type,
Endevor
automatically assigns the default processor group to the element. You can override this assignment on the Add/Update Elements panel.
You add processors to
Endevor
in the same manner as other elements. They must be added to type Process, or they are not executable.
Because
Endevor
processors get translated into load modules, they should not be named the same as any programs you may be executing within a processor. For example, do not name a processor CONWRITE or IEWL.
Processors Invoked by Actions
Endevor
actions invoke processors as follows:
  • Add
    Invokes the Generate processor and provides the following options:
    • Processor group
    • Bypass generate processor
  • Archive
    Invokes the Delete processor and provides the Bypass element delete option.
  • Delete
    Invokes the Delete processor and provides the Bypass element delete option.
  • Generate
    Invokes the Generate processor (and Delete processor if processor group changes) and provides the Processor group option.
  • Move
    Invokes the Move (default) or Generate, and Delete processors and provides the Bypass element delete option.
  • Restore
    Invokes the Generate processor and provides the following options:
    • Processor group
    • Bypass generate processor
  • Transfer
    Invokes the Generate (default) or Move processor, and Delete processor and provides the following options:
    • Processor group
    • Bypass generate processor
    • Bypass delete processor
    • Bypass element delete
  • Update
    Invokes the Generate processor and provides the following options:
    • Processor group
    • Bypass generate processor
The COPY, DISPLAY, LIST, PRINT, RETRIEVE, and SIGNIN actions do not invoke processors.