99 oracle::occi::Statement *stmt =
con->createStatement();
100 stmt->setSQL(
"begin cscmap.crate0_proc(:1, :2, :3, :4, :5, :6, :7, :8, :9); end;");
102 stmt->setString(1, chamber_id);
103 stmt->registerOutParam(2, oracle::occi::OCCIINT);
104 stmt->registerOutParam(3, oracle::occi::OCCIINT);
105 stmt->registerOutParam(4, oracle::occi::OCCIINT);
106 stmt->registerOutParam(5, oracle::occi::OCCIINT);
107 stmt->registerOutParam(6, oracle::occi::OCCIINT);
108 stmt->registerOutParam(7, oracle::occi::OCCIINT);
109 stmt->registerOutParam(8, oracle::occi::OCCIINT);
110 stmt->registerOutParam(9, oracle::occi::OCCIINT);
114 *crate0 = stmt->getInt(2);
115 *crate = stmt->getInt(3);
116 *dmb = stmt->getInt(4);
117 *
sector = stmt->getInt(5);
118 *chamber_num = stmt->getInt(6);
119 *chamber_index = stmt->getInt(7);
120 *first_strip_index = stmt->getInt(8);
121 *strips_per_layer = stmt->getInt(9);
123 con->terminateStatement(stmt);
oracle::occi::Connection * con