Creating and Updating a Comms Database

You must use the CED mode to create or update a Comms database. In this mode, you can specify a configuration file in either text format (.cfg) or XML format (.xml) as input file. For more information, see Creating and Modifying Input Files for a Comms Database.

Creating a Comms database

You can use the following command to create a Comms database:

> SDB -m ced.<Symbian OS version> <input file>

For information about the various options in the preceding command, see SDB Creator Tool Syntax.

The following are CED-specific options:

OptionsValues

ced.<Symbian OS version>

For Symbian OS v9.1, specify ced.91

For Symbian OS v9.2, specify ced.92

For Symbian OS v9.3, specify ced.93

For Symbian OS v9.4, specify ced.94

For Symbian OS v9.5, specify ced.95

Note: The databases created using ced.91 and ced.92 are compatible with the database created using ced.93.

The following are some example scenarios:

  • To create a database file with the default name cccccc00.cre at the default location for Symbian OS v9.3:

    > SDB -m ced.93 sample.cfg

  • To create a database file by specifying the required output database file name and location:

    > SDB -m ced.94 sample.xml -o D:\CEDFiles\cccccc00.cre

  • To create a derived Comms database file based on an existing Comms database file and a configuration file:

    > SDB -m ced.95 -i inputced.db -o outputced.db new.cfg

    This commands creates the outputced.db database as a copy of the inputced.db database. It then updates outputced.db with the settings specified in new.cfg.

Updating a Comms database

You can use the following command to update an existing Comms database file:

> SDB -m ced.<Symbian OS version> -i <input database file> -o <output database file> <input file>

To update an existing input Comms database, you must specify same file name for the input (using -i tag) and output (using -o tag) databases. For information about the various options in the preceding command, see SDB Creator Tool Syntax.

The following are some example scenarios:

  • To update an existing Comms database file that is Symbian OS v9.4 compatible:

    > SDB -m ced.94 -i inputced.db new.xml -o inputced.db

    This command updates inputced.db with the settings in the new.xml file.

  • To update an existing Comms database file that is Symbian OS v9.5 compatible:

    > SDB -m ced.95 -i inputced.db new.cfg -o inputced.db

    This command updates inputced.db with the new settings in the new.cfg file.