CA WA ESP init statement "ROUTING MASTER" gets errors ESP806W/ESP803W
search cancel

CA WA ESP init statement "ROUTING MASTER" gets errors ESP806W/ESP803W

book

Article ID: 13029

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

CA WA ESP commands and requests (that are entered from a CA WA ESP Proxy subsystem) may be routed to the ESP Master subsystem for execution by using command "ROUTING MASTER".  

"ROUTING MASTER" is also an initialization statement of the ESP Workstation Server started task.  If "ROUTING MASTER" is coded in the ESP Proxy subsystem init parmlib, the following messages will be issued when the Proxy starts:  

       ESP806W FOLLOWING STATEMENT FROM ESPPARM HAS AN UNDEFINED PARAMETER

       ESP803W ROUTING MASTER 

 



How to set "ROUTING MASTER" when the CA WA ESP Proxy subsystem starts?

Environment

Release: ENCWLA00200-11.4-Workload Automation-Restart Option-EE
Component:

Resolution

1. Define an event: 

    EVENT ID(test.routing) SYSTEM(-) REPLACE 

    Proc 

        ESP ROUTING MASTER 

    EndProc 

2. Add statement "TRIGGER test.routing ADD" to the Proxy's ESPWARM member. 

Explanation: When the Proxy subsystem starts. event "test.routing" will be triggered, and executes command "ROUTING MASTER". All commands issued against the Proxy subsystem will be routed to the Master after the Proxy comes up.

To send commands/requests to the Master subsystem on an as-needed basis, execute command "ROUTING MASTER" from the ESP procedure.

Example: 

    APPL myappl 

    myvar = '%ESPAHH%ESPAMN%ESPASS' 

    ESP ROUTING MASTER 

    REXXON 

    /* Proxy cannot update the Global Variable table */ 

    /* VPUT must be executed on the master */ 

    "VPUT (myvar)  TABLE(gblvartab) 

    REXXOFF 

    JOB myjob 

      RUN TODAY

   ENDJOB