如何减少SAS宏代码运行的时间

发布于 2025-01-28 16:14:43 字数 303 浏览 1 评论 0原文

我需要在下面的每月报告SAS代码的帮助下: 首先,当数据相对较小时,代码运行时间太长。当它完成一条读取的消息时:日志的内容太大。

请您检查我的代码哪个问题? 宏变量的含义: & end_date。 =上个月的最后一天。例如30-APR-22 & lastest_refrsh_dt。 =报告发布的最新日期。 报告发布后,我们使用'eND_DATE更新了配置表。 work.schedule_dt:包含更新标志的表。如果所有标志都是正确的,我们将继续进行,但是如果更新标志为false退出。在一个月的六天,如果标志仍然是错误的,则发送读取“不可用数据”的电子邮件。

I need help with my monthly report sas code below:
Firstly the code takes too long to run while the data is relatively small. When it completes a message that reads: The contents of log is too large.

Please can you check what the issue which my code?
Meaning of macro variable:
&end_date. = last day of the previous month. for instance 30-Apr-22
&lastest_refrsh_dt. = The latest date the report was published.
once the report is published, we updated the config table with &end_date.
work.schedule_dt: a table that contains the update flag. if all flags are true, we proceed but if update flags are false exit. at the six day of month, if the flag is still false, then email that reads "data not available" is sent.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸩远一方 2025-02-04 16:14:43

通常,有关日志的消息是由于日志中有关类型问题的警告。根据您的描述,通常是由于日期解释的问题。

这篇文章中没有什么可以帮助您提供帮助的。您需要打开日志并找出消息是什么。否则,这是我们的猜测。

Normally, that message about the log is due to warnings in the logs over type issues. From what you describe, it is typically due to an issue on date interpretation.

There is nothing in this post to aid in helping beyond that. You need to open the log and find out what the message is. Otherwise, it is speculation on our part.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文