Is there a way to control when a program can be execute within a processor?

book

Article ID: 40171

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM) CA Endevor Software Change Manager - Natural Integration (SCM) CA Endevor Software Change Manager - ECLIPSE Plugin (SCM) CA Endevor Software Change Manager - Enterprise Workbench (SCM)

Issue/Introduction

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

 

Environment

Release:
Component: ENDBAS