Hi rusherke,
You don't mention your environment, but I'll assume IBM zOS/eCOBOL.
Since using a cursor is akin to creating a seq file from
table data, I usually put the cursors in WS. I see you have them in the code - may be a problem, maybe not.
You say "make a cursor in a cursor", I like to...