ESP Inserts JOBPARM with incorrect system affinity
search cancel

ESP Inserts JOBPARM with incorrect system affinity

book

Article ID: 449777

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Jobs are submitted with a JOBPARM S=SYSx card identifying the wrong system, even when the jobs do not have JOBPARM coded in the JCL. This behavior occurs when ESP uses resources to determine job placement and the resource availability counter is incorrectly set as available across all CPUs. Consequently, ESP selects the system where the Master is running (e.g., SYSA) instead of the intended target (e.g., SYSB).

Environment

ESP Workload Automation

Cause

The resource availability counter (AVAIL) is set to be available on all systems in the complex.
This allows ESP to insert a JOBPARM card for any available system, defaulting to the system where the ESP Master resides if multiple systems show availability.

Resolution

Issue the RESDEF command to restrict resource availability to the specific required system.

  1. Identify the resource causing the incorrect placement.

  2. Execute the following command to set availability only for the correct system (e.g., SYSB):

    RESDEF resource_name SET AVAIL(SYSB)

Verify that jobs now submit with the correct JOBPARM S=SYSB affinity.