Data in Virtual (DIV) is an access method that differs from the traditional access methods such as ISAM, SAM, and UPAM because it does not require a file to be structured into records and blocks and works without I/O buffers, and operations such as GET or PUT.
DIV works with a special DIV-OPEN.
DIV is an object-oriented access method that is particularly suitable for processing unstructured data (Binary Large Objects (BLOBS)).
The DIV interface is an SVC interface. Jobs are formulated by a parameter list; acknowledgments are made by means of a return code in the parameter list (not via exits).
DIV is not supported on SPARC systems.
Macro for the DIV access method
The DIV access method works with the DIV macro, which covers the various functions for data processing:
Macro | Function | |
DIV | CLOSE | Close a file, releasing any existing windows with default values, if applicable |
MAP | Define a window (i.e. a work area) in the virtual address space | |
OPEN | Open a file | |
RESET | Undo changes in the window | |
SAVE | Write modified pages from the window back to the file on disk | |
UNMAP | Release the window in the virtual address space |