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

查看:131
本文介绍了告诉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<DataSetName>,它们不会使您的处理流程混乱.但是它们仍然存在,并且可以在代码和任务中引用.

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中弃用-请参见

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天全站免登陆