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. If you maintain multiple Global Directories, you must choose one to use. To automate this definition, define gtmgbldir in your login file.
The following is an example of a gtmgbldir definition:
$ gtmgbldir=/usr/staff/mumps.gld
$ export gtmgbldir