WLM address spaces and stored procedures
agburke 060001QPDN Visits (2607)
Often there is confusion regarding WLM address spaces and stored procedure performance.
As long as the stored procedures are meeting their WLM goal z/OS is reluctant to spawn a new address space even if all of the TCBs in that address space are currently being used. WLM will look at the available resources, i.e. TCBs and address spaces every 2 seconds, but only react every 10 seconds. In the accounting report for a stored procedure you can look in the STORED PROC row under SUSPEND TIME to see how much time was spent waiting for a TCB.
To impact this wait time you might tighten up the WLM goals for the stored procedure to pressure WLM into action, or implement the following PTF to keep a certain number around all the time.