SEQOPT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
mNo edit summary
Line 13: Line 13:
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V6.1</var> or earlier
</dl>
</dl>
==Description==
==Description==
<p>The option for the prefetch (look-ahead read) feature</p>
<p>
<p>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.  </p>
Enables or disables the [[Record_loops#The prefetch (look-ahead_read) feature|prefetch (look-ahead read) feature]].</p>
<p>The prefetch feature can produce performance improvements for applications containing FOR EACH RECORD statements. The prefetch feature is described in more detail in the <var>Model&nbsp;204 User Language Manual</var> and the <var>Model&nbsp;204 System Manager's Guide</var>.</p>
<p>
<p>The prefetch feature can also be controlled with the RESET command issued by a user having system manager privileges.</p>
<var>SEQOPT</var> 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.  </p>
<p>Use of the prefetch feature requires that the MAXBUF parameter be set large enough to accommodate the look-ahead reads. Without this setting, performance might worsen. The specification for the MAXBUF parameter is calculated by the following formula:         </p>
<p>
The prefetch feature can produce performance improvements for applications containing <var>FOR EACH RECORD</var> statements. The prefetch feature is also described in the <var class="book">[http://docs.rocketsoftware.com/nxt/gateway.dll/RKBnew556/model%20204/v7.4/m204_v7r4_system_manager.pdf Rocket Model 204 System Manager's Guide]</var>.</p>
<p>
The prefetch feature can also be controlled with the <var>RESET</var> command issued by a user having system manager privileges.</p>
<p>
Use of the prefetch feature requires that the <var>[[MAXBUF parameter|MAXBUF]]</var> parameter be set large enough to accommodate the look-ahead reads. Without this setting, performance might worsen. The specification for the <var>MAXBUF</var> parameter is calculated by the following formula: </p>
<p class="code">MAXBUF = NUSERS * (4 + 2 * (Maximum FOR EACH RECORD loop nest level)
<p class="code">MAXBUF = NUSERS * (4 + 2 * (Maximum FOR EACH RECORD loop nest level)
</p>
</p>
[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 17:28, 16 April 2014

Sequential processing options

Summary

Default value
0
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V6.1 or earlier

Description

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 the Rocket Model 204 System Manager's Guide.

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 MAXBUF parameter be set large enough to accommodate the look-ahead reads. Without this setting, performance might worsen. The specification for the MAXBUF parameter is calculated by the following formula:

MAXBUF = NUSERS * (4 + 2 * (Maximum FOR EACH RECORD loop nest level)