ESP Workload Automation

 View Only
  • 1.  Job waiting due to "NOT WITH"

    Posted Jun 10, 2024 12:54 PM

    We are looking for a way to identify any active job in ESP that is currently in a "resource wait," specifically due to a NOTWITH on the job definition. Ideally, we would like to identify both sides when one task is waiting. Is there a way to do this? (Reports, job on CSF, CSF command, etc.) Thank you!



    ------------------------------
    Eric Kammerer
    IT Systems Engineer | Workload Engineering
    Progressive Insurance
    ------------------------------


  • 2.  RE: Job waiting due to "NOT WITH"

    Posted Jun 10, 2024 03:53 PM

    From Page Mode enter the following command to see it provides what you need.

    LCSF STATUS EQ 'Waiting for Resources' 

    If it does you could create a REXX



    ------------------------------
    Rick Romanowski
    rromanowski@ups.com
    Sr. Systems Analyst
    UPS
    NJ, USA
    ------------------------------



  • 3.  RE: Job waiting due to "NOT WITH"

    Posted Jun 10, 2024 04:40 PM

    Thank you! I would like to ONLY report on jobs waiting for a resource due to a "NOTWITH". This will show all resource waits. (Unless I am missing something) I don't see any difference in the output between jobs waiting on a "defined resource" and a NOTWITH. 



    ------------------------------
    Eric Kammerer
    IT Systems Engineer | Workload Engineering
    Progressive Insurance
    ------------------------------



  • 4.  RE: Job waiting due to "NOT WITH"

    Broadcom Employee
    Posted Jun 10, 2024 05:25 PM

    Hi Eric,

    I set up a simple test here with the use of NOTWITH:
    APPL NOTWITH
    JOB CYBLZ                     
       NOTWITH (CYBLZ.1)          
       RUN ANY                    
    ENDJOB                        
    JOB CYBLZ.1                   
       notwith CYBLZ                          
       RUN ANY                    
    ENDJOB                        

    And found:
    - When the JOB CYBLZ.1 is in RESWAIT because of the JOB CYBLZ on NOTWITH,
    Enqueue ESPENQ_JOB(CYBLZ.1)_APPL(NOTWITH.11)                    
    ESPENQ_JOB(CYBLZ.1)_APPL(NOTWITH.11)                            
        (Gen) Held              Shr   CYBLZ, Appl NOTWITH.11        
              Required          Excl  CYBLZ.1, Appl NOTWITH.11      

    - After the JOB CYBLZ.1 is running, it shows:
    ESPENQ_JOB(CYBLZ.1)_APPL(NOTWITH.12)                       
              Held              Excl  CYBLZ.1, Appl NOTWITH.12 

    So you may consider to use Rick's idea to find out ALL jobs in RESWAIT status, and then compose the proper ENQUEUE command and find out if it's related to NOTWITH.

    Hope this helps,

    Lucy




  • 5.  RE: Job waiting due to "NOT WITH"

    Posted Jun 11, 2024 06:01 PM

    Thank you



    ------------------------------
    Eric Kammerer
    IT Systems Engineer | Workload Engineering
    Progressive Insurance
    ------------------------------