RMUALTER72.HLB  —  DEPOSIT  Examples
    Example 1

    The following example deposits a value of 1 for SPAM entries on
    pages 2 and 3 of the current storage area:

    RdbALTER> AREA 6 PAGE 1
    RdbALTER> DISPLAY SPACE 2:3
    0000000000000000000000000000000B  0016  page 2: threshold 3
                                            page 3: threshold 2
                                            pages 4-65: threshold 0
    RdbALTER> DEPOSIT SPACE 2:3=1
    RdbALTER> DISPLAY SPACE 2:3
    00000000000000000000000000000005  0016  pages 2-3: threshold 1
                                            pages 4-65: threshold 0

    Example 2

    The following example deposits data 032C with a length of 2 bytes
    into offset location 0012 (decimal 18):

    RdbALTER> DEPOSIT DATA/HEXADECIMAL/WORD 0012=032C

    Example 3

    The following example deposits the new value of 0002 in the
    storage area identification field:

    RdbALTER> AREA 1 PAGE 1
    RdbALTER> DISPLAY STORAGE_AREA
                                0001  0000  area 1
    RdbALTER> DEPOSIT STORAGE_AREA=0002
    RdbALTER> DISPLAY STORAGE_AREA
                                0002  0000  area 2

    See the Oracle Rdb Guide to Database Maintenance for more
    examples of how to use the DEPOSIT command.
Close Help