Hi fnd

i am not quit well in my sql.but i am stuck in a procedure in that procedure like operator is not working. kindly help to solve my issue.
my code is given below
DELIMITER $$
USE `abc`$$
DROP PROCEDURE IF EXISTS `test`$$
CREATE PROCEDURE abc.test()
BEGIN
DECLARE done INT DEFAULT FALSE;
DECLARE i TEXT;
DECLARE user_name_test TEXT;
DECLARE user_gender_test TEXT;
DECLARE user_distict_test TEXT;
DECLARE user_f_h_name_test TEXT;
DECLARE user_name TEXT;
DECLARE uidai_number TEXT;
DECLARE logic TEXT;
DECLARE curs1 CURSOR FOR SELECT pensioner_name_english,gender,district,f_h_name_en glish FROM abc.city_wise WHERE Pensioner_name_english='ANITA RANI';
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
OPEN curs1;
read_loop: LOOP
FETCH curs1 INTO user_name_test,user_gender_test,user_distict_test, user_f_h_name_test;
IF done THEN
LEAVE read_loop;
END IF;
-- SELECT user_name_test,user_distict_test;
SET @logic=TRIM(IFNULL(user_name_test, ''));
set @uidai_number='';
set @user_name='';
SELECT @logic,user_name_test,user_distict_test,user_gende r_test;
SET @SS = CONCAT("SELECT uniqueid,name_local into @uidai_number,@user_name FROM srdhenrollment1.enrollment where gender='",user_gender_test,"' and name like '%",@logic,"%' limit 1");
select @SS;
PREPARE STMT FROM @SS;
EXECUTE STMT;
DEALLOCATE PREPARE STMT;
SELECT uidai_number,user_name;
END LOOP;
CLOSE curs1;
END$$
DELIMITER ;


and when i print the query @SS it look like
SELECT uniqueid,name_local into @uidai_number,@user_name FROM srdhenrollment1.enrollment where gender='F' and name like '%ANITA RANI%' limit 1

but the value of uidai_number is null and user_name is null.
but when i run individual query it give out put means
SELECT uniqueid,name_local FROM srdhenrollment1.enrollment where gender='F' and name like '%ANITA RANI%' limit 1.

return some out put.
so why query in the procedure not give out?
kindly help me to sort out this issue.