89 oracle::occi::Statement *stmt =
con->createStatement();
90 stmt->setSQL(
"begin cscmap.crate0_proc(:1, :2, :3, :4, :5, :6, :7, :8, :9); end;");
92 stmt->setString (1, chamber_id);
93 stmt->registerOutParam (2, oracle::occi::OCCIINT);
94 stmt->registerOutParam (3, oracle::occi::OCCIINT);
95 stmt->registerOutParam (4, oracle::occi::OCCIINT);
96 stmt->registerOutParam (5, oracle::occi::OCCIINT);
97 stmt->registerOutParam (6, oracle::occi::OCCIINT);
98 stmt->registerOutParam (7, oracle::occi::OCCIINT);
99 stmt->registerOutParam (8, oracle::occi::OCCIINT);
100 stmt->registerOutParam (9, oracle::occi::OCCIINT);
104 *crate0 = stmt->getInt(2);
105 *crate = stmt->getInt(3);
106 *dmb = stmt->getInt(4);
107 *sector = stmt->getInt(5);
108 *chamber_num = stmt->getInt(6);
109 *chamber_index = stmt->getInt(7);
110 *first_strip_index = stmt->getInt(8);
111 *strips_per_layer = stmt->getInt(9);
113 con->terminateStatement (stmt);
oracle::occi::Connection * con