SA_FilePIEnd
SA_FilePIEnd dequeues one or more file control blocks allowing access by other programs.
int SA_FilePIEnd ( );
Note the following:
This function call will unlock all files allowing other programs using the SUNACCESS modules or Sunbelt PL/B programs to perform any file operations.
It is only necessary to perform a SA_FilePI when a record is read and re-written (updated). If the SA_FilePI is performed prior to the read and released after the update, it is not possible for other processes to have accessed the files during that period.
Function return codes are as follows:
|
Value |
Meaning |
|
1 |
Success. |
|
-nn |
Error as described in Sunaccess Errors |
![]() |