Drive Logging
SUNDB86x Only
SUNDB86 supports file searching via the concept of 'Logged On Drives'. Within the screen definition file (SUNSCRN.DEF) is a table corresponding to the drive letters A through Z. Using the SETDRIVE program it is possible to define one, several or all of these drives as Logged On Drives.
When combined with the DOS SUBST command (that allows drive letter designations to be assigned to subdirectories - consult the DOS User's Guide for more information), this concept can be extremely useful. Whenever a CHAIN, PREPARE, or OPEN instruction is executed within a PL/B program, an attempt is made to locate the specified file/program in the current directory. If unsuccessful, the Logged On Drives are then searched sequentially.
See Also: Compiler and Runtime Options
![]() |