TCLRS use generated statementId