SEQOPT parameter

From m204wiki
Jump to navigation Jump to search

Sequential processing options


Default value
Parameter type
Where set
On User 0's parameter line, or reset by System Manager
Related products
Model 204 V2.1 or earlier


Enables or disables the prefetch (look-ahead read) feature.

SEQOPT must be either zero or 1. If the default value of zero is used, the prefetch feature is disabled. If a value of 1 is specified, the prefetch feature is enabled.

The prefetch feature can produce performance improvements for applications containing FOR EACH RECORD statements. The prefetch feature is also described in Prefetch feature.

The prefetch feature can also be controlled with the RESET command issued by a user having system manager privileges.

Use of the prefetch feature requires that the NUMBUFG or the MAXBUF parameter be set large enough to accommodate the look-ahead reads. Without this setting, performance might worsen.