[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

19.4 Adding Namespaces

When adding new applications to your FreeM installation, it is important to plan an appropriate namespace configuration. In general, it is advisable to place each application in its own namespace, as this will prevent conflicts in routine and global names, which can easily lead to data corruption. However, there are cases where it is preferable (or even essential) to combine multiple applications into a single namespace, i.e., when two applications rely on the ability to access each other’s routines and/or globals, both applications must reside in a shared namespace.

In order to add a namespace to FreeM, you use the namespace add command. In the following example, we will add a new namespace called MVTS, for installing the M Validation and Test Suite:

 
$ namespace add MVTS
Adding namespace MVTS...


Namespace MVTS has been created.
Access it with the following command:

 $ freem --namespace=MVTS

Or if FreeM is already running:

 SYSTEM> SET ^$JOB($JOB,"NAMESPACE")="MVTS"

The namespace utility supports customization of a great many namespace options, including configuration of journaling and lock table location, among others.

For more information on the namespace utility, please consult the relevant section of the manual in Appendix A (FreeM Utilities).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by root on October 14, 2020 using texi2html 1.82.