Skip to content

PREFIX

Prefix Path Names

This system variable returns the directory path names specified by the last SET PREFIX directive for this task.

PREFIX

This system variable is generally available starting with release level 8.1.

The default for this variable is the null character.

A hierarchical directory must be set in the IPL file for Thoroughbred Basic to locate a file using the path names in PREFIX. For more information, please refer to the information on the DEV statement in the Thoroughbred Basic Customization and Tuning Guide.

LET A$ = PREFIX

The value of PREFIX is assigned to A$. If A$ = “/usr/lib/WORD /TEMP /usr/lib/DATA/BACKUP”, Thoroughbred Basic uses the 3 directory paths, “/usr/lib/WORD”, “/TEMP”, and “/usr/lib/DATA/BACKUP”, as alternate directory names when Thoroughbred Basic cannot locate the file using the current directory.

SET DIR and SET PREFIX directives
DIR system variable

From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF