Memory-Based Files Overview |
Virtual Machine |
Memory-Based Files Overview
This facility enhances the PROIV filing system to provide support of keyed Memory-Based Files. A PROIV Application can do read/write/delete record processing against these files as if they were physically stored files.
A Memory-Based File resides in the virtual memory of the process that created it rather than directly on the disk. Memory is allocated when the file is opened, and the file remains in existence as long as PROIV is loaded. If the file is cleared, any excess space that was allocated is returned.
As only one user can access a particular Memory-Based File, there is no record locking or other concurrency controls. In addition, there is neither Commit nor Rollback functionality available.
The following file system operations are valid on Memory-Based Files:
-
Create
-
Clear
-
Read keyed record
-
Read next record
-
Change an existing record
-
Write or insert a new record
-
Delete the current record
-
SEL-ONLY and SEL_PARTIAL
Topic ID: 720292