The CHANGE command alters the name-to-region or region-to-segment mapping and the environment for a region or segment.
The format of the CHANGE command is:
C[HANGE]/N[AME] name-space /R[EGION]=new-region
C[HANGE]/R[EGION] region-name [/REGION-qualifier...]
C[HANGE]/S[EGMENT] segment-name [/SEGMENT-qualifier...]
The CHANGE command requires specification of an object-type and object-name.
Once you exit GDE, mapping changes take effect for any subsequent image activation (e.g., the next RUN or MUMPS /DIRECT command). Changes to database parameters only take effect for new database files created with subsequent MUPIP CREATE commands that use the modified Global Directory. Use the MUPIP utilities to change characteristics of existing database files.
Example:
GDE> C /R MASTER /DYNAMIC=TEMP /KEY=100
This command changes the region MASTER to use dynamic segment TEMP and establishes a maximum KEY_SIZE of 100 characters for the next creation of a file for this region. The segment change takes effect the first time the system uses the Global Directory after the GDE session EXITs, while the KEY_SIZE change takes effect after the next MUPIP CREATE of the database.