the subvar you've setup should return Y if there are jobs running, so a condition like the one below if added to your job should prevent it from running unless/until the subvar returns N
Timing : Before
Condition : User defined
Test:
If {<#name of your subvar>} = N
Action:
WAIT UNTIL MET
Action timing: Every time condition is true
------------------------------
Cheers
Pat
------------------------------
Original Message:
Sent: 05-12-2021 03:43 PM
From: Taylor
Subject: Using wildcard in a job condition in Applications Manager
I added so_status_name = 'RUNNING' so it would only check same name jobs that were currently running, but not sure how to setup the condition. I have tried a few different ways but none seem to work.
This communication and any accompanying document(s) are or may be confidential. They are intended for the sole use of the addressee. If you receive this transmission in error, you are advised that any copying, distributing, or taking of any action in reliance upon the communication is strictly prohibited. If you received this communication in error, please delete the original message from your system and immediately contact me at the above telephone number or email address. Thank you.
Original Message:
Sent: 5/12/2021 9:52:00 AM
From: Shelley Taylor
Subject: Using wildcard in a job condition in Applications Manager
The problem with that is that there will be more GLBDATA jobs waiting to run so the job with the condition will never run.
This communication and any accompanying document(s) are or may be confidential. They are intended for the sole use of the addressee. If you receive this transmission in error, you are advised that any copying, distributing, or taking of any action in reliance upon the communication is strictly prohibited. If you received this communication in error, please delete the original message from your system and immediately contact me at the above telephone number or email address. Thank you.