Allocating to your process the device on which the file resides. Disk
files generally can be shared concurrently among jobs and sessions. Magnetic
tape and unit-record devices are generally allocated exclusively to the
requesting job or session.
If the file resides on a nonshareable device (such as magnetic tape) and you
have nonshareable device (ND) capability, HPFOPEN/FOPEN determines whether the
system operator must approve allocation of the device (such as an unlabeled
magnetic tape) or provide a particular media (such as a specific volume for a
labeled magnetic tape request or special forms for a line printer). If so,
HPFOPEN/FOPEN requests the system operator to respond appropriately.
Different processes within the same job may open and have concurrent access to
a file on the same magnetic tape or unit-record device if the file has been
opened with multiaccess option set; however, this device cannot be accessed by
another job until all accessing processes in this job have issued a
corresponding FCLOSE call.