SP runtime error. VARCHAR size is doubled. "A column or character expression is larger than the max"

Database
Highlighted
Teradata Employee

SP runtime error. VARCHAR size is doubled. "A column or character expression is larger than the max"

Hi ,

 

I am Running the below procedure but i am getting an error:

SP definition:
REPLACE PROCEDURE DEV42_1_DB_RDM.ad()
BEGIN
DECLARE l_outmsg VARCHAR(16500) CHARACTER SET Unicode DEFAULT '';
END
;
But it doubles the size of VARCHAR:
USING ( _spVV0 VARCHAR(33000) CHARACTER SET UNICODE ) SELECT '' INTO :_spVV0 ;

 

SP runtime error. VARCHAR size is doubled. "A column or character expression is larger than the max"