Hi,

check out the second cursor as there is no parameter taken for that .

U have taken cursor parameter for the third cursor please do check it.

Regards,
Ajay....