如何自动在SAS代码中生成描述。

huangapple go评论69阅读模式
英文:

how to make a description on a SAS code automatically

问题

我想知道是否有一段SAS代码可以在日志中或txt文件中提供关于SAS程序的描述(程序中的条件、输入和输出表格等)?

英文:

I want to know if there is a SAS code that allows you to give a description in the log or in a txt file on a SAS program (The conditions made in the program, the input and output tables.. ...) ?

答案1

得分: 1

使用 Proc SCAPROC

根据文档:

SCAPROC 过程是 SAS 代码分析器的实现,它在 SAS 作业运行时捕获有关输入、输出和宏符号的使用信息。SAS 代码分析器可以将此信息以及原始 SAS 文件中的信息写入您指定的文件中。SCAPROC 过程还可以生成一个启用网格的作业,该作业可以同时运行作业的独立部分。您可以在操作系统的命令行上或在 SAS 编辑器窗口中使用 SCAPROC 过程。

英文:

Use Proc SCAPROC

From documentation:

> What Does the SCAPROC Procedure Do?
>
>
>The SCAPROC procedure implements the SAS Code Analyzer, which captures information about input, output, and the use of macro symbols from a SAS job while it is running. The SAS Code Analyzer can write this information and the information thatis in the original SAS file to a file that you specify. The SCAPROC procedure can also generate a grid-enabled job that can concurrently run independent pieces of the job. You can issue the SCAPROC procedure on your operating system's command line or in SAS code in the SAS Editor window.

huangapple
  • 本文由 发表于 2023年6月29日 16:17:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/76579240.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定