Skip to main content

alphaWorks  >  Forums  >  IBM Integrated Ontology Development Toolkit  >  developerWorks

sor.commit() -> Error when executing RUNSTATS    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
Ian_Scott

Posts: 3
Registered: Mar 07, 2008 09:19:32 AM
sor.commit() -> Error when executing RUNSTATS
Posted: Mar 10, 2008 05:27:48 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

I am getting the following exception thrown when I call sor.commit()

WARN com.ibm.iodt.sor.db.DAO - Error when executing RUNSTATS.

SQL0444N Routine "ADMIN_CMD" (specific name "SQL080310211427650") is implemented with code in library or path "\ADMIN_CMD", function "ADMIN_CMD" which cannot be accessed. Reason code: "4". SQLSTATE=42724

My code is as follows:

// SOR Stuff...
Config.setConfigFile(new FileInputStream("sor-db2.cfg"));
Config.install();

OntologyStoreManager sor = new OntologyStoreManager();
OntologyStoreManager.deleteOntologyStore("inventory");
OntologyStoreManager.newOntologyStore("inventory");
sor.selectOntologyStore("inventory");

sor.addEODMModel(ontology, false);
sor.commit();

Can anyone point me in the right direction, please?

Point your RSS reader here for a feed of the latest messages in all forums