$ZROutines

Establishing the Value from GTM$ROUTINES
Setting a Value for $ZROutines
$ZROutines Examples
$ZROutines Search Types
$ZROutines Search Examples

$ZRO[UTINES] contains a string value specifying a VMS directory or object library, or list of VMS directories and/or object libraries, containing object files. Each object directory may also have an associated directory, or list of directories, containing the corresponding source files. These directory lists are used by certain GT.M functions, primarily auto-ZLINK, to locate object and source files. The order in which directories appear in a given list determines the order in which they are searched for the appropriate item.

Searches that use $ZROUTINES treat files as either object or source files. GT.M treats files with a type of .OBJ or files in an object library as object files and all other files as source files. GT.M always assumes source files have a type of .M unless an explicit ZLINK, $ZSOURCE or the source file pointer in an object file specify otherwise.

[Note]

Paths used in $ZROUTINES to locate routines must not include embedded spaces, as $ZROUTINES uses spaces as delimiters.