楼主: 侯主义者
8885 11

[问答] filename pipe批量读取一个文件夹下的csv文件出错,希望高手帮忙看下 [推广有奖]

11
龙潭丰乐 学生认证  发表于 2014-8-30 23:19:16
davil2000 发表于 2012-11-18 12:17
/*Pls try the codes below*/
    filename p_dir pipe "dir I:\fold\*.csv /b " lrecl=32767;
     d ...
请问姚老师 问什么要加truncover

12
ouyangfuture 发表于 2017-3-2 17:19:52
我也碰到这个问题了,查找了英文谷歌,终于找到了解决版本:
The error message occurs if you invoke SAS through the standard shortcut, a desktop shortcut, or directly from the sas.exe in Windows Explorer.
Workaround
To work around this issue, do one of the following:
方法一:Pin the shortcut for the SAS executable to either the Start menu or the Taskbar. When you invoke SAS from a pinned location, you prevent the error message from appearing.
方法二:Or edit your SAS shortcut with the following command:
1.Right-click the shortcut for the SAS executable and select Properties.
2.In the sas.exe - Shortcut Properties dialog box, click the Shortcut tab and enter this command in the Target field:
C:\Windows\System32\cmd.exe /c "C:\Progra~1\SAS\SASFoundation\9.2\sas.exe -CONFIG C:\Progra~1\SAS\SASFoundation\9.2\nls\en\SASV9.CFG"
3.Click OK.

详见:http://support.sas.com/kb/41/863.html

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-20 23:58