![]() | Note |
---|---|
Each environment variable required by GT.M is described and illustrated in individual sections following the procedure. Only gtm_dist, and in some cases gtmgbldir, gtm_principal and gtmroutines, are required by users who do not perform programming activities. |
To define an environment variable type the following commands:
$ env_variable=env_variable_value $ export env_variable
The example above may differ from the syntax supported by some shells
gtm_dist is used to establish the location of the installed GT.M program and support files.
The syntax for gtm_dist is as follows:
$ gtm_dist=<GT.M-distribution-directory>
The standard installation places these files in /usr/lib/fis-gtm.
$ gtm_dist=/usr/lib/fis-gtm/V6.0-002_x86_64 $ export gtm_dist
This identifies /usr/lib/fis-gtm/V6.0-002_x86_64 as the location of the installed GT.M files.
To add gtm_dist to your PATH type the following commands:
$ PATH=$PATH:$gtm_dist $ export PATH
![]() | Note |
---|---|
Most of the examples in this manual assume that you have added gtm_dist to your PATH. |
The syntax of a gtmgbldir definition is:
$ gtmgbldir=/directory/filename.gld
$ gtmgbldir=/usr/staff/mumps.gld $ export gtmgbldir
This specifies /usr/staff as the directory containing the Global Directory file named mumps.gld.
The following is an example of gtm_principal definition:
$ gtm_principal=/usr/filename $ export gtm_principal
$ gtmroutines="directories in search list"
The following is an example of gtmroutines definition:
$ gtmroutines=". $gtm_dist" $ export gtmroutines
For additional information about how GT.M uses the routine search list, see a??$ZROutinesa??.