Unable to run script in beeline

source /home/ankunmohapatra8947/mysqlscript.hql;
FAILED: ParseException line 1:0 cannot recognize input near ‘source’ ‘/’ ‘home’ (state=42000,code=40000)
0: jdbc:hive2://> source /home/ankunmohapatra8947/mysqlscript.hql;

running the .hql scripts from beeline prompt

Please help me