Procedure 3

Define all the environment variables and aliases in the .profile file of that user. Production application users generally need commonly used commands in their .profile file as well.

Add the following files to that user's .profile file. Replace <dist dir area> with the directory in which GT.M is installed and <global directory path and file name> with the location of the global directory.

gtm_dist=<gtm_dist pathname>
export gtm_dist
gtmroutines=". $gtm_dist"
export gtmroutines
gtmgbldir=<global directory path and file name>
export gtmgbldir
PATH=$PATH:$gtm_dist
export PATH

When your use of GT.M is more sophisticated, you may use different values gtmroutines.