Pages

Saturday, August 10, 2013

Widgets

Proc Datasets Tip

Delete all labels in th.pnsmutaa

proc datasets library = th nolist;
modify pnsmutaa;
attrib _all_ label='';
quit;

Rename th.bstpns_org to th.bstpns_org1

proc datasets library = th nolist;
change stpns_org = bstpns_org1;
quit;

Delete all in a library

proc datasets library = work kill nolist;
quit;

Delete one specific dataset from a library
proc datasets library = work nolist;
delete tst1;
quit;

Copy all in library th to work

proc datasets nolist;
copy out=work in=th;
quit;

Copy th.rappformat to work.rappformat
proc datasets nolist;
copy out=work in = th;
select rappformat;
quit;

No comments:

Post a Comment