Previous Topic: Allocating Primary and Secondary Storage PoolsNext Topic: Layout of the Record Buffer Block


How Storage is Managed

The runtime system allocates and initializes record buffers for use by executing dialogs. When an application is initiated, CA ADS allocates a Record Buffer Block (RBB) from the DC/UCF system's storage pool to hold the records identified in the dialog definitions and accessed by the dialogs in the application thread. The RBB must be large enough to accommodate the largest of these records.

There is one primary RBB for each application. CA ADS allocates a secondary RBB when the RBB becomes full during execution of the application or does not have enough remaining space to hold a record.

Additional secondary RBBs can be allocated by the CA ADS runtime system as necessary. The data communications administrator (DCA) specifies the size of the primary and secondary RBBs with the PRIMARY POOL and SECONDARY POOL parameters of the ADSO statement. When allocating the primary and secondary storage pools, the DCA needs to consider the size and number of the records used by the application as well as the header records maintained by the buffers.