

Designing Dialogs › Design Considerations › Record Buffer Management › What Affects Record Buffer Management
What Affects Record Buffer Management
At the beginning of each application thread, the CA ADS runtime system allocates a primary Record Buffer Block (RBB) and initializes a buffer in the RBB for each record associated with the top-level dialog. All lower-level dialogs can access records in any of the existing buffers, unless one of the following conditions is true:
- The dialog that receives control accesses a record that has been assigned the NEW COPY attribute during dialog generation.
- The dialog that receives control accesses a record not used by a higher-level dialog.
- The dialog that receives control issues navigational DML statements to access a record that uses a subschema not used by a higher-level dialog.
If one or more of these conditions exist, CA ADS allocates and initializes an additional buffer for the record.
Additional buffers are also allocated and initialized when one of the following situations exists:
- The record is assigned the WORK RECORD attribute during dialog generation.
- The record is associated with the map used by the dialog.
- The record is named explicitly in a database command.
Copyright © 2013 CA.
All rights reserved.
 
|
|