Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Logging SAS日志不包括代码_Logging_Sas - Fatal编程技术网

Logging SAS日志不包括代码

Logging SAS日志不包括代码,logging,sas,Logging,Sas,我面临以下情况。sas日志自某些天起不再包含原始代码,而是仅包含 绿色评论 红色社区 在此之前,日志按预期工作,包括代码 我在网上查过了,但找不到解决办法 问题:有一些选项/代码可以恢复选项,使代码也包含在日志中 更新:根据Richard的说法,第一个选项没有解决问题。下面是您建议的两个选项的日志: NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR SAS (r) Proprietary Software Release

我面临以下情况。sas日志自某些天起不再包含原始代码,而是仅包含

  • 绿色评论
  • 红色社区
在此之前,日志按预期工作,包括代码

我在网上查过了,但找不到解决办法

问题:有一些选项/代码可以恢复选项,使代码也包含在日志中

更新:根据Richard的说法,第一个选项没有解决问题。下面是您建议的两个选项的日志:

  NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR

  SAS (r) Proprietary Software Release 9.4  TS1M3


Group=LOGCONTROL
 CPUID             Prints the CPU identification number at the beginning of the SAS log.

 DATE              Prints the date and time that a SAS program started.
 DECIMALCONV=COMPATIBLE
                   Specifies the binary to decimal conversion and formatting methodology.

 NODETAILS         Does not display additional information when files are listed in a SAS library.

 DMSLOGSIZE=99999  Specifies the maximum number of rows that the SAS Log window can display.

 NODTRESET         SAS does not update the date and time in the titles of the SAS log and procedure output file.

 NOECHOAUTO        Does not write statements that are in the AUTOEXEC file to the SAS log as they are executed.

 ERRORS=20         Specifies the maximum number of observations for which SAS issues complete error messages.

 HOSTINFOLONG      Print operating environment information in the SAS log when SAS starts.

 LINESIZE=132      Specifies the line size for the SAS log and for SAS procedure output for the LISTING destination.

 LOGAPPLNAME=      Specifies a SAS session name for SAS logging.

 NOLOGLANGCHG      Disables changing the language of the SAS output when the LOCALE= option is changed.

 LOGPARM=WRITE=BUFFERED ROLLOVER=NONE OPEN=REPLACE
                   Specifies when SAS log files are opened, closed, and according to the LOG= system option, how they are named.

 MISSING=.         Specifies the character to print for missing numeric values.

 MLOGIC            Traces macro execution and writes the results to the SAS log.

 NOMLOGICNEST      Does not display the macro nesting information in the SAS log for MLOGIC output.

 NOMPRINT          Does not display the SAS statements that are generated by macro execution.

 MSGLEVEL=N        Specifies the level of detail in SAS log messages.

 NEWS=!SASROOT/misc/base/news
                   Specifies the location of the news file that is to be written to the SAS log immediately after the header.

 NOTES             SAS writes notes to the SAS log.

 NUMBER            Prints the page number on the first title line of each page of SAS output.

 NOOVP             Disables overprinting of error messages to make them bold.
 NOPAGEBREAKINITIAL
                   Does not begin SAS log and procedure output for the LISTING destination on a new page.

 PAGESIZE=60       Specifies the number of lines that compose a page of the SAS log and SAS output.

 PRINTMSGLIST      Specifies to print the entire list of messages to the SAS log.

 NOSOURCE          Does not write program source statements to the SAS log.
 SOURCE2           Writes secondary source statements from included files to the SAS log.

 NOSYMBOLGEN       Does not display the results of resolving macro variable references in the SAS log.
 ECHO=             Specifies a message that is echoed to the SAS log while initializing SAS.

 RTRACE=NONE       Specifies whether to produce a list of resources that are read or loaded during a SAS session.

 NOFULLSTIMER      Does not write performance statistics to the SAS log.
 NOMSGCASE         Specifies that SAS writes notes, warning, and error messages in mixed casing.

 NOOPLIST          Does not write SAS system option settings to the SAS log.

 STIMEFMT=(NLDATM2. HMS TIMEAMPM KB MEMFULL TSFULL NC)
                   Specifies the format that is used to display the FULLSTIMER and STIMER output for timestamp, memory, CPU and 
                   elapsed time statistics.
 STIMER            Writes real and CPU time to the SAS log.

 NOVERBOSE         Does not write start-up system options to the SAS log.

NOTE: PROCEDURE OPTIONS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds



    SAS (r) Proprietary Software Release 9.4  TS1M3


Group=LOG_LISTCONTROL
2                                                          The SAS System                            18:23 Tuesday, February 6, 2018

 DATE              Prints the date and time that a SAS program started.
 DECIMALCONV=COMPATIBLE
                   Specifies the binary to decimal conversion and formatting methodology.

 NODETAILS         Does not display additional information when files are listed in a SAS library.

 NODTRESET         SAS does not update the date and time in the titles of the SAS log and procedure output file.

 LINESIZE=132      Specifies the line size for the SAS log and for SAS procedure output for the LISTING destination.

 NOLOGLANGCHG      Disables changing the language of the SAS output when the LOCALE= option is changed.


 MISSING=.         Specifies the character to print for missing numeric values.

 NUMBER            Prints the page number on the first title line of each page of SAS output.

 NOPAGEBREAKINITIAL
                   Does not begin SAS log and procedure output for the LISTING destination on a new page.

 PAGESIZE=60       Specifies the number of lines that compose a page of the SAS log and SAS output.

NOTE: PROCEDURE OPTIONS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

尝试检查或设置源选项

options SOURCE;
如果这似乎无法解决问题,请在提交此代码后使用显示的日志更新问题:

proc options group=logcontrol;
run;

proc options group=log_listcontrol;
run;

尝试检查或设置源选项

options SOURCE;
如果这似乎无法解决问题,请在提交此代码后使用显示的日志更新问题:

proc options group=logcontrol;
run;

proc options group=log_listcontrol;
run;

显示(生成的)SAS代码的另一个选项是
options mprint-根据,这将显示SAS宏生成的代码(如果有)


虽然它不会显示代码,
options注释
提供更详细的日志,并且-在默认情况下处于打开状态时-有时会因性能原因而关闭。

显示(生成)SAS代码的另一个选项是
选项mprint-根据,这将显示SAS宏生成的代码(如果有)


虽然它不会显示代码,
options注释
提供更详细的日志,并且在默认情况下处于打开状态时,由于性能原因,有时会被关闭。

您如何连接到SAS?SAS企业指南?SAS/工作室?SAS显示管理器?您如何连接到SAS?SAS企业指南?SAS/工作室?SAS显示管理器?很好地使用了
proc选项
groups。我错了,因为我使用的是source2选项,而不是那个源。当我转到来源时,情况似乎恢复了正常。非常感谢您的宝贵意见。很好地使用了
proc选项
groupsHi Richard。我错了,因为我使用的是source2选项,而不是那个源。当我转到来源时,情况似乎恢复了正常。非常感谢您的宝贵意见。