PLB_LOCKIO Keyword


PLBWIN Only

PLB_LOCKIO=ON

 

This keyword causes the runtime to issue lock requests for each read/write I/O operation. The need for this type of lock request was to work around a problem in Microsoft's Network Redirector for Windows 95 that was causing data corruption when multiple Windows 95 workstations were accessing the same files. A program can also use a control named '*LOCKIO=ON | OFF’ in a SETMODE statement that allows a user application to control whether the runtime is to use the I/O lock requests or not. The GETMODE statement was modified to retrieve the current state of the I/O locking mode by using 'GETMODE *LOCKIO={nvar}'.

 

Please notice that Microsoft's Network Redirector was modified to correct this data corruption problem such that the need for the Sunbelt I/O lock requirements should no longer be needed. The ability to turn the I/O lock requests are only being made available in cases where Microsoft's Network Redirector correction is not being used. The Microsoft solution for the data corruption was documented as problem Q148367 and was made available 24 Sept 1997.

 

 

See Also: PLBWIN Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLB_LOCALIP Keyword PLB_LOGON Keyword