The DIV (DATA IN VIRTUAL) access method is particularly suitable for processing the unstructured streams which often occur in C programs (e.g. those ported from UNIX).
DIV enables NK-PAM files to be processed which contain no data management information (BLOCK-CONTROL-INFO=NO) and are located on public volume.
If data which has already been read into a “window” as the result of a previous access is accessed frequently, the performance can be considerably enhanced.
Further background information on DIV is provided in the “DMS Assembler Interface” manual.
The C runtime system always uses the DIV access method for stream-oriented input/output to NK-PAM files without data management information. DIV cannot be used for NK-PAM files opened for record-oriented input/output.