IMGSEGS parameter

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Number of segments for Imagine files

Summary

Default value
32
Parameter type
System
Where set
On User 0's parameter line
Introduced
Model 204 V8.0

Description

This parameter indicates the number of segments worth of space to be allocated in the record locking table for recordsets for Imagine Transparency files. These files can have an essentially unlimited number of segments on Imagine but that's irrelevant for the purposes of the IMGSEGS setting, as recordsets are thread-specific and the number of segments in a file is just a limit on the number of records that can be accessed in a Model 204 file that's backed by SYSOPT2 parameterImagine files in a session.

Since the number of records in a segment is 49,152, the default IMGSEGS of 32 allows for 1,572,864 records in a sessions which is almost certainly more than enough for most purposes. If the SYSOPT2 parameter X'40' bit is set, the required record locking table space per recordset in an Imagine file is roughly four times IMGSEGS.