There is an error here :

proc datasets library=libref;
modify table_name;
format var_name = date9.;
informat var_name = mmddyy10.;
label var_name = 'New label';
rename var_name = var_new_name;
run;
quit;

There should be no "=" in the format line. If there is You get a syntax error ): .