Hi, My routine contains embedded SQL including this: &sql(DECLARE C1 CURSOR FOR</p>

The error "SQLCODE=-52 : Cursor C10 already declared" comes up on compilation in Studio. Does anyone know a way around it please?

Bob

</body></html>