And John missed the part where OH_Message doesn't expects parameters and you're sending parameters. You're not using @Stud_id which is the base of your cursor and you have a begin with no corresponding end.
What are you trying to do? Maybe we can help to simplify the logic and correct the code.
Please read the article linked in my signature to get better help.