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 /F[ILE_NAME]=file-spec [/SEGMENT-qualifier...]
    
    
         

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/S TEMP/F=SCRATCH
    
    
    
         

This command creates a segment TEMP and maps it to the file SCRATCH.DAT in the current default directory. However, if SCRATCH is a logical name, GT.M finds the file using the translation of that logical name.