Previous Topic: Storage PoolNext Topic: Queue Area


Scratch Area

At trace definition time, you can use the following formula to calculate the number of bytes of scratch required per terminal:

number-of-unique-screens * lines-per-screen * 100

The maximum number of lines per screen is 15.

For example, if there are 20 unique screens, and 15 lines per screen, the formula yields:

20 * 15 * 100 = 30000 bytes

At execution time, you can use the following formula to calculate the number of bytes in the scratch area required for each dialog at a terminal:

2619 + (total-lines * 172)

where total-lines is the total number of lines in all replays for the dialog (maximum 5000).

To calculate the total number of bytes, add the number of bytes for each dialog.