Calculating the storage requirement for the extended common service area
You must calculate the approximate storage requirement for the extended common service area (ECSA).
Before you begin
Determine the values of the following subsystem parameters for use in the calculations:
Procedure
To estimate storage that is needed for ECSA (above the 16-MB line) for each Db2 subsystem, use the following calculations: - If you do not use the distributed data facility (DDF), only 5 MB is required for the code base.
- If you also use SNA communication, which is deprecated, add an additional 1 KB for each SNA connection.
- Until you first activate function level 500 in Db2 13, you might need as much as an additional 25 MB for IFI buffers as requested by monitoring programs.

What to do next
Specify this sum or a value that is larger than this sum as the second value of the CSA parameter of the IEASYSxx z/OS® logical PARMLIB member. The logical PARMLIB is usually referred to as SYS1.PARMLIB. Specifying values that are too high is preferable to specifying values that are too low; making your values too low can result in a need to IPL z/OS. For example, if the ECSA size is too small, z/OS places the Db2 global load modules and control blocks for Db2 in CSA below the 16-MB line instead of above it. This can cause problems with coexisting z/OS subsystems.
Distributed threads are represented by z/OS SSRB control blocks that reside in the extended system queue area (ESQA) when they are paused. The amount of storage that is used might vary depending on the z/OS release that is used. Estimate 4 KB of ESQA for every active distributed thread. You can use MAXDBAT-value × 4 KB.