CDO$HELP.HLB  —  CDO Commands, DEFINE  DATABASE  Description
    The DEFINE DATABASE command creates a physical RMS database on
    disk using an RMS database element. If the command completes
    successfully, DEFINE DATABASE creates a CDD$DATABASE element
    (with the database name you specified) and a CDD$FILE element
    (with the OpenVMS file name you specified) in your directory.

    If the RMS database element is a controlled element, you use
    the DEFINE DATABASE command to create the initial version of a
    database. Use the RESERVE and REPLACE commands to create new
    versions.

    If the RMS database element is an uncontrolled element, you
    use the DEFINE DATABASE command to create both initial and new
    versions.

    If you supply a database name that is already used for a database
    element in your specified directory, you will create a new
    version of the existing database definition.

    This command allows you to create many different physical RMS
    databases using the same logical RMS database element. You can
    specify a different location on disk for each database with an
    OpenVMS file name.

    As of Oracle CDD/Repository Version 6.1, the DEFINE DATABASE
    command supports unsigned numeric and ADT fields as keys in RMS
    databases.

    If the database name does not specify a full path name, CDO
    creates the database definition in your current default
    directory. CDO attempts to translate the database name you supply
    to determine if it is a valid logical name. If it is a logical
    name and CDO cannot translate the logical name to a valid path
    name, the operation fails.
Close Help