The gtmgbldir environment variable identifies the global directory to be used. A global directory maps global variables to physical database files, and is required to access M global variables. Users who maintain multiple global directories must choose one to use. To automate this definition, define gtmgbldir in the user's login file.
The following is an example of a gtmgbldir definition:
$ gtmgbldir=/usr/staff/mumps.gld $ export gtmgbldir
For additional information on gtmgbldir, refer to the Global Directory Editor Chapter.