告诉 SAS 不要在流程中添加新生成的表 [英] Tell SAS not to add newly generated tables on the Process Flow

查看:19
本文介绍了告诉 SAS 不要在流程中添加新生成的表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 SAS 代码,它为我的计算创建了很多中间表.问题是,我真的不关心工作完成后的这张表,我只关心决赛的结果.

I have a SAS code that creates a lot of intermediary tables for my calculations. Thing is, I don't really care about this tables after the job is done, I only care to the finals results.

但是,每次我运行这段代码时,SAS 都会添加所有生成的表来完成我的流程,把它变成一团糟(我这里指的是 40 多个中间表).

But, everytime I run this code, SAS add all the generated tables do my process flow, turning it into a huge mess (I am talking here of 40+ intermediary tables).

有没有办法告诉 SAS 不要在流程中添加一些表?或者至少告诉它根本不要添加任何表格?我正在使用 SAS Enterprise Guide 4.1

Is there a way to tell SAS not to add some tables to the process flow? Or at least to tell it not to add any tables at all? I am using SAS Enterprise Guide 4.1

提前致谢

推荐答案

在 SAS 9.1.x 和 9.2.x(适用于 Windows)下,可以在 SAS 客户端环境中抑制数据集的显示通过在数据集名称前加上_TO".因此,在您的代码和/或任务中,您可以调用所有中间数据集 _TO,它们不会弄乱您的流程.但它们仍然会存在并且可以在代码和任务中被引用.

Under SAS 9.1.x and 9.2.x (for Windows), it's possible to suppress the display of datasets in SAS client environments by prefixing the dataset name with "_TO". So in your code and/or tasks, you could call all your intemediate datasets _TO<DataSetName>, and they won't clutter up your process flow. But they will still be there and can be referenced in code and tasks.

如果您这样做并且正在使用任务,请注意,如果您看不到要选择它的数据集,那么要弄清楚如何将任务的输出数据用作另一个任务的输入可能会很棘手.如果您对此有疑问,请在此帖子上发表评论,我们可以解决.

If you do this and you're using tasks, note that it might be tricky to work out how to use the output data from a task as the input for another, if you can't see the dataset to select it. If you have trouble with this, comment on this post and we can address that.

请注意,此_TO"前缀是未记录的隐藏"功能,将在 9.3 中弃用 - 请参阅 this 博客了解详细信息.

Note that this "_TO" prefix thing is an undocumented, "hidden" feature that is to be deprecated in 9.3 - see this blog for details.

这篇关于告诉 SAS 不要在流程中添加新生成的表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆