RDOHELP72.HLB  —  CHANGE_STORAGE_MAP, Examples
    Example 1

    The following example disables compression for the CANDIDATES_MAP
    storage map:

    RDO>  CHANGE STORAGE MAP CANDIDATES_MAP
    cont>   DISABLE COMPRESSION
    cont> END CANDIDATES_MAP STORAGE MAP.

    Example 2

    The following example assigns new limits for storage areas:

    RDO>  CHANGE STORAGE MAP EMPLOYEES_MAP
    cont>  STORE USING EMPLOYEE_ID
    cont>    WITHIN EMPIDS_LOW WITH LIMIT OF "00300";
    cont>           EMPIDS_MID WITH LIMIT OF "00600";
    cont>           EMPIDS_OVER
    cont> END EMPLOYEES_MAP STORAGE MAP.

    Current data will not be moved according to the new limits.
    However, when new data is stored, it will be stored according
    to the new limits in the storage map.

    Example 3

    The following example defines a new storage area EMPIDS_MID2 to
    handle the employee IDs 600-900, and to reorganize the data from
    one existing storage area, EMPIDS_OVER. The current data which
    is stored within the limits of employee IDs 601-900 will be moved
    according to the new limits. When the new data is stored, it
    will be stored according to the new limits set in the storage map
    definition.

    RDO> CHANGE STORAGE MAP EMPLOYEES_MAP
    cont>  STORE USING EMPLOYEE_ID
    cont>        WITHIN EMPIDS_LOW WITH LIMIT of "00300";
    cont>           EMPIDS_MID WITH LIMIT OF "00600";
    cont>           EMPIDS_MID2 WITH LIMIT OF "00900";
    cont>           EMPIDS_OVER
    cont>           REORGANIZE
    cont> END EMPLOYEES_MAP STORAGE MAP.
Close Help