PLBWIN_ERRLOCKTIMEOUT Keyword


PLBWIN Only

PLBWIN_ERRLOCKTIMEOUT={seconds}

 

This keyword allows a user to specify how long the PLBSERVE/PLBWIN runtime should wait when a Windows ERROR_LOCK_VIOLATION occurs while executing an read or write operation. The timeout value {nnn} can be from zero to 300 seconds. The default value for {nnn} is 120 seconds. If a value of zero is specified, the runtime does not wait when a Windows ERROR_LOCK_VIOLATION occurs.

Note the following:

  1. The Windows versions of the PLBSERVE/PLBWIN runtimes detect and wait for a Windows ERROR_LOCK_VIOLATION. This helps in situations where the operating system or non-PL/B applications are locking PL/B data files.

  2. It was determined that one user's system environment was causing I60 errors with a WINERR of 0x21 that was caused by a third party BACKUP application locking an ISI file. The WINERR 0x21 in this case identifies an ERROR_LOCK_VIOLATION. The runtime keyword will help resolve these types of conflicts.

 

 

See Also: PLBWIN Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLB_EOR Keyword PLB_ERRORLOG Keyword