Hold jobs that are in Waiting for Resource status
search cancel

Hold jobs that are in Waiting for Resource status

book

Article ID: 55499

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Receiving error ESP2819E JOB xxxxxxxx IS WAITING FOR RESOURCES. 

 Is it possible to hold this job and run it later? 

Cause

The hold (H) command from CSF will not work and gives the error message 'ESP2819E JOB xxxxxxxx IS WAITING FOR RESOURCES, CANNOT BE HELD'.

The reset time (RT) command from CSF will not work and gives the error message 'Request Invalid. 

Only the LATESTART or LATEEND time can be reset on a readied job.  When a job's predecessor/time dependencies have been satisfied it is readied. 

As part of the readying process, several things take place:

If resources are not required, the Appl Manager builds a TDR (time-driven request) and queues it. The job is submitted to JES.

If resources are required, the Appl Manager builds a TDR but does NOT queue it. The Appl Manager calls the Resource Manager and passes it to the TDR. 
The resource Manager gathers the job's resource request(s) and looks to see if they can be satisfied. If they can, resource entries are updated, the TDR is queued and the job is submitted to JES. If not, resource entries are added to the request queue and the job is placed on the waiting job queue until resources are satisfied.

By the time the Resource Manager is called, the TDR to submit the job has already been built and the Appl Manager has relinquished control.

Resolution

Example: JOBA is the job in 'Waiting for Resources' status, and JOBB is the successor of JOBA. 

Execute the following CSF commands in ( ).

  • Place JOBB on hold. (H)
  • Complete JOBA. (C)
  • Hold JOBA. (H)
  • Resubmit JOBA. (R)
  • Give JOBA the Earliest Submit Time in the future. (RT)
  • Insert Link after JOBA, and before JOBB. (IJB or IJA)
  • Release hold on JOBA. (A)
  • Release hold on successor job. (A)

Additional Information

  •