PLBWIN_XPIO Keyword


 

     PLBWIN_XPIO={ON|OFF}

 

When set to ON, this keyword causes specialized code to be executed for every PL/B fileio statement that performs writing operations. This specialized code retrieves the current data file size and then performs OS operations to cause the EOF (end of file) to be set to this data file size if the new size is larger than a previous operation. By resetting the EOF settings for a data file accessed by a Windows XP system avoids the problem where the OS functions was truncating the data file.

Note the following:

  1. The PLBWIN_XPIO keyword is only needed for a runtime that is executed on a Windows XP system that is accessing data on a Windows 98 system. We have not determined if the problems occur when a Windows XP system is accessing data on a Windows 95 or ME system. One might guess that this keyword operation may be required in those cases also.

  2. The types of runtime errors that could occur due to the data corruption as described above are as follows:

    I60 errors
    162 errors
    Text data records for an IFILE were over written with blanks.

  3. The specialized code invoked by the PLBWIN_XPIO keyword being done to provide a work around to avoid problem symptoms that have been observed when a Windows XP system is accessing data on a Windows 98 system. This does not solve the Windows XP to Windows 98 compatibility problem. It is highly recommended that users avoid mixing new Windows OS systems to access data on older Windows OS system if at all possible until the Windows OS problem is corrected.

  4. We have not been able to reproduce any of the problem symptoms described above when the same Windows OS systems were used for a network.

Example:

 

     PLBWIN_XPIO=OFF

 

 

See Also: SUNDM Keywords, SUNADMIN, MAKEMFD



about_sundm PLB_PREP Keyword PLBVOL Keyword