Original Message:
Sent: Jun 10, 2024 05:25 PM
From: Lucy Zhang
Subject: Job waiting due to "NOT WITH"
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
Original Message:
Sent: Jun 10, 2024 04:39 PM
From: Eric Kammerer
Subject: Job waiting due to "NOT WITH"
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
Original Message:
Sent: Jun 10, 2024 03:53 PM
From: Rick Romanowski
Subject: Job waiting due to "NOT WITH"
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
Original Message:
Sent: Jun 10, 2024 12:54 PM
From: Eric Kammerer
Subject: Job waiting due to "NOT WITH"
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
------------------------------