SAS中文论坛

 找回密码
 立即注册

扫一扫,访问微社区

查看: 810|回复: 3
打印 上一主题 下一主题

How to delete all the labels in SAS files?

[复制链接]

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
楼主
 楼主| 发表于 2007-1-23 10:50:08 | 只看该作者

How to delete all the labels in SAS files?

i get the SAS datasets from oracle, for some reasons, i need to delete all the labels of each SAS table.
is there any each way to do it?

Thanks
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
沙发
 楼主| 发表于 2007-1-23 11:13:10 | 只看该作者

find one solution :D

[code:59aca]/* Remove all the labels and formats */

proc datasets lib=work;
   modify test; /* modify data set test */
     attrib _all_ label=' '; /* will remove all labels */
     attrib _all_ format=; /* will remove all formats */
run;

contents; /* view the contents after removal */
run;
quit;[/code:59aca]
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
板凳
 楼主| 发表于 2007-1-24 13:25:12 | 只看该作者

自问自答?

自问自答?
回复 支持 反对

使用道具 举报

49

主题

76

帖子

1462

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1462
地板
 楼主| 发表于 2007-1-24 22:40:24 | 只看该作者

data

i found one solution after i posted it.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SAS中文论坛  

GMT+8, 2025-6-11 11:14 , Processed in 0.070568 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表