You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I use %INC to introduce other SAS files in the SAS code I write, if there is an error in the running result, the location of the error is incorrect.
Steps to reproduce
Steps to reproduce the behavior:
It can be guaranteed: aaa.sas does not actually exist, but f.sas does exist
Expected behavior
Hope to achieve: When the file introduced by %include takes effect, if other errors occur, the error line can be correctly located.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Client OS: [e.g. Windows 10]
Extension version: [v1.13.0]
SAS version: [sas9.4 com]
Additional context
this log:
3 SAS 系统 2025年 1月 3日 星期五 下午05时37分00秒
23 /** LOG_START_INDICATOR **/
24 title;footnote;ods all close;
25 ods graphics on;
26 ods html5(id=vscode) path="C:\Users\BAOYI~1.ZHA\AppData\Local\Temp\SAS Temporary Files_TD61056_JANUS-GZ-150_\Prc2"
26 ! style=Ignite options(bitmap_mode='inline' svg_mode='inline') body="cc7d145d-7c55-44d7-86a4-dc6f6ded737f.htm";
WARNING: 没有找到样式“IGNITE”;将改用样式“HTMLBlue”。
NOTE: 正在写入 HTML5(VSCODE) Body(主体)文件: cc7d145d-7c55-44d7-86a4-dc6f6ded737f.htm
27 %let _SASPROGRAMFILE = %nrquote(%nrstr(d:\code\data\vscodedata\test.sas));
28 %INC "f.sas";
Current Program File: d:\code\data\vscodedata\test.sas
Current Program File: d:\code\data\vscodedata\test.sas
NOTE: 数据集 WORK.A 有 1 个观测和 0 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
实际时间 0.00 秒
CPU 时间 0.00 秒
Describe the bug
When I use %INC to introduce other SAS files in the SAS code I write, if there is an error in the running result, the location of the error is incorrect.
Steps to reproduce
Steps to reproduce the behavior:
It can be guaranteed: aaa.sas does not actually exist, but f.sas does exist
Expected behavior
Hope to achieve: When the file introduced by %include takes effect, if other errors occur, the error line can be correctly located.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Client OS: [e.g. Windows 10]
Extension version: [v1.13.0]
SAS version: [sas9.4 com]
Additional context
this log:
3 SAS 系统 2025年 1月 3日 星期五 下午05时37分00秒
23 /** LOG_START_INDICATOR **/
24 title;footnote;ods all close;
25 ods graphics on;
26 ods html5(id=vscode) path="C:\Users\BAOYI~1.ZHA\AppData\Local\Temp\SAS Temporary Files_TD61056_JANUS-GZ-150_\Prc2"
26 ! style=Ignite options(bitmap_mode='inline' svg_mode='inline') body="cc7d145d-7c55-44d7-86a4-dc6f6ded737f.htm";
WARNING: 没有找到样式“IGNITE”;将改用样式“HTMLBlue”。
NOTE: 正在写入 HTML5(VSCODE) Body(主体)文件: cc7d145d-7c55-44d7-86a4-dc6f6ded737f.htm
27 %let _SASPROGRAMFILE = %nrquote(%nrstr(d:\code\data\vscodedata\test.sas));
28 %INC "f.sas";
Current Program File: d:\code\data\vscodedata\test.sas
Current Program File: d:\code\data\vscodedata\test.sas
NOTE: 数据集 WORK.A 有 1 个观测和 0 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
实际时间 0.00 秒
CPU 时间 0.00 秒
33
34 data bbb;
35 a='hello wordbbb123';
36 b='hello wordbbb123';
37 run;
NOTE: 数据集 WORK.BBB 有 1 个观测和 2 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
实际时间 0.00 秒
CPU 时间 0.00 秒
38
39 %INC "aaa.sas";
WARNING: 物理文件“C:\Windows\system32\aaa.sas”不存在。
ERROR: 无法打开 %INCLUDE 文件 aaa.sas。
40
41 data aaa;
42 a='hello wordbbb123';
43 b='hello wordbbb123';
44 run;
NOTE: 数据集 WORK.AAA 有 1 个观测和 2 个变量。
NOTE: “DATA 语句”所用时间(总处理时间):
实际时间 0.00 秒
CPU 时间 0.01 秒
45
46 ;';";*/;run;quit;ods html5(id=vscode) close;
47
48 %put --vscode-sas-extension-submit-end--;
The text was updated successfully, but these errors were encountered: