Add

The ADD command inserts a new name, region, or segment into the Global Directory.

The format of the ADD command is one of the following:

A[DD]-N[AME] name-space -R[EGION]=region-name
A[DD]-R[EGION] region-name -D[YNAMIC]=segment-name [-REGION-qualifier...]
A[DD]-S[EGMENT] segment-name [-SEGMENT-qualifier...] -F[ILE_NAME]=file-name

The ADD command requires specification of an object-type and object-name. GDE supplies default values from the templates for qualifiers not explicitly supplied in the command.

Name spaces and file-names are case-sensitive; other objects are not case-sensitive.

Example:

GDE> add -segment temp -file_name=scratch

This command creates a segment-name TEMP and maps it to the file scratch.dat in the current working directory. However, if you specify scratch is as the file-name, in other words specify it in the form of an environment variable, GT.M finds the file using the translation of that environment variable.