hi,
you should define a session variable in mysql client and put it in the SPs parameter list and then select it.
e.g.
Code:
call spname(4, @a);
select @a;
and in another sp you should define an ordinary local variable and put it instead of your out prameter, then you can do any calculation you want with that variable.
goodluck
--Chagh