ESP Workload Automation

  • 1.  delay replenishment renewable resource

    Posted Dec 31, 2013 08:17 PM

    I know that a job will automatically return a resource once it completes if the resource is renewable.   Is there any way to delay the return of that resource and instead have another job replenish it?  I do not want to change the resource type if I dont need to.   If a depleatable is required, what is the statement to use which will restock the resource?

     



  • 2.  RE: delay replenishment renewable resource

    Posted Dec 31, 2013 09:29 PM

    Try using the following in the 1st job definition:

         RESOURCE ADD(##,your_reso_name)  
         RESDEF your_reso_name SET MAX(0)

    and then the following in the second job def:

         RESDEF your_reso_name SET MAX(##)

     (## = the max number of resources allowed.)