Question:
Is there a way to control when a program can be execute within a processor?
Answer:
Yes there is and it is the EXECIF keyword that can be used in a processor to define under what conditions a processor step is executed.
The EXECIF is a true statement, a base example is EXECIF=(value1,operator,value2)
Within Endevor value1 could be an Endevor symbolic for an inventory area.
The operator would be EQ, NE, GT, LT, LE or GE.
Value2 would be a specific name representing an Endevor Group.
001493 //STEPONE EXEC PGM=C1BM3000, EXECIF=(&C1ELTYPE,EQ,'ASM')
In this example if the member being ADDED was a member in TYPE ASM, C1BM3000 would be executed.
If the type was COBOL, C1BM3000 would not be executed.
For more information please refer to the Endevor Extended Processor Guide.
V17 Documentation bookshelf
V18 Documentation WIKI