Calculating virtual storage requirements for an MSDB

You can calculate the storage requirements for an MSDB by using a formula.

The formula for calculating the storage requirements for an MSDB is as follows:
(L + 4)S + C + 14F + X

    where:

    S = the number of segments in the MSDB as specified by the
        member DBFMSDBx in the IMS.PROCLIB          
    L = the segment length as specified in the DBD member

    C = 80 for non-related MSDBs without a terminal-related key, or
           94 for the other types of MSDB

    F = the number of fields defined in the DBD member

    X = 2 if C + 14F is not a multiple of 4, OR
          0 if C + 14F is a multiple of 4

MSDBs reside in the z/OS® extended common storage area (ECSA).