*SHAREFLUSH (GETMODE)
PLBCON or PLBWIN
*SHAREFLUSH={value}
The *SHAREFLUSH control reports the shared file flush mode. If the state is ON (the default state), files opened in SHARE mode are automatically flushed anytime the data file is extended. Disabling this feature will increase program performance butit may be possible to lose data if a workstation loses power or is rebooted with buffered data.
This runtime mode may be controlled using the PLB_SHAREFLUSH runtime keyword.
{value} is a previously defined Numeric Variable that receives the automatic flushing mode.
The {value} returned is one of the following:
|
Value |
Automatic flushing is ... |
|
0 |
OFF. |
|
1 |
ON (default). |
See Also: List Controls (GETMODE), GETMODE
![]() |