Try with TABLENAME =TNAME;Try step by step and execute it.
TABLENAME =
TNAME;
Try step by step and execute it.
Try with
TABLENAME =
TNAME;
Try step by step and execute it.