ToolTalk User's Guide

Converting the System Database

A system CE database is the per-machine database. You will need to run the ttce2xdr script on each machine on which you have ToolTalk types. To determine whether there are any ToolTalk types in the system CE database, enter the following command on the command line:

tt_type_comp -Epd system

No output is generated if there are no ToolTalk types in the system CE database.


Note –

You must be logged in as root to run the ttce2xdr script for the system CE databases.


To run the ttce2xdr script for the system CE database, enter the following commands on the command line:

ttce2xdr [ -xnh ] -d  system

Table A–2 describes the options for the ttce2xdr script.

Table A–2 ttce2xdr Script Options

Option 

Description 

-x

Displays the underlying commands executed by ttce2xdr.

-n

Displays the underlying commands that ttce2xdr can execute.

-h

Describes the options for ttce2xdr.

-d

Specifies the database to be converted: user, system, or network.

The types are read from the CE database

	/etc/cetables/cetables

and written to the new ToolTalk Types database

	/etc/tt/types.xdr