How to know if you are close to maxing out the APPLFILE before adding a large APPLICATION in ESP
Calculate the APPLFILE and add 30% or more depending on the projected growth:
In Pagemode Issue: oper listaptf
DATASET your.applfile
FORMATTED AT 99.99.99 ON DAY MONTH DD YYYY
3600 SLOTS TOTAL, 2568 AVAILABLE, NEXT IS 3197
APPLFILE for every 2 cylinders is approximately 1000 jobs
You should be able to get the current APPLBUF usage by doing a LAP DUMP on the Appl.
In Page Mode Issue : LAP yourappl.0 DUMP
ATR +0 36ACAB4C 000FFFF8 000004B0 00000000 *.......8........*
+10 00000000 000004B0 C6D9C801 00014600 *........FRH.....*
The Applbuf shows 000FFFF8 (1048568). The size of this Appl is 000004B0
(1200 bytes). This is the SECOND '4B0' on line "+10".
Note: The APPLBUF determines the maximum size that an application can be. Setting this initialization parameter to its maximum buffer size enables ESP to generate an application that contains approximately 10,000 jobs. If APPLBUF is too low, ESP fails when it tries to generate an application requiring a larger buffer size.
The APPLFILE is a non-VSAM data set, internally formatted into 4K or larger slots that are managed on a wrap-around basis. The file must be allocated as contiguous space. The more space allocated to the APPLFILE, the longer individual Application information is retained before a slot needs to be reused.
The size of the APPLFILE varies depending on:
-Number of applications you run.
-Number of jobs in each application.
-Number of job relationships specified.
-Number of resources specified.
-Use of ESP procedure caching.