Tore --
Is SYS(2015) guaranteed to always return distinct names?
Jim
>Hi James,
>
>maybe you can name your cursors according to the level of recursing? Something like
>lcCursorname=lcCursorname+'1'
>Select * from sometable into cursor (lcCursorname) where bla-bla-bla
>Just an idea..! :-)
Jim Nelson
Newbury Park, CA