Language Reference Guide : 4. System Classes : DBSessionObject Class : WriteDBComponent Method
 
Share this page                  
WriteDBComponent Method
The WriteDBComponent method writes a component to an OpenROAD database (that is, a database that contains the OpenROAD system catalogs).
This method has the following syntax:
integer = DBSessionObject.WriteDBComponent
                         (
                                   component = compsource
                         )
This method has the following parameter:
component
Specifies a component source to be written to the database
Autocommit should be off when using this method.
The method returns ER_OK if it succeeds, and ER_FAIL if it fails. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.