织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

FILE statement's DSD option only honored for simp

时间:2025-12-30 23:14来源: 作者:admin 点击: 0 次
According to the SAS Language Reference: Dictionary, the DSD option on the FILE statement enables you to write delimited data values that contain embe

According to the SAS Language Reference: Dictionary, the DSD option on the FILE statement enables you to write delimited data values that contain embedded delimiters using simple or modified list output. This option is ignored for other types of output (e.g. formatted, column, named). The DATA step below that writes "Test 1" illustrates that DSD is not used for formatted output. data inp; input a b c; datalines; 1 2 3 2 3 4 3 4 5 4 5 6 5 6 7 6 7 8 ; /* */ /* formatted output, so no delimiter */ /* after variable A */ /* */ data _null_; set inp; file log dsd; if _n_ = 1 then put 'Test 1'; put a 5.0 (b c) (:2.0); run; /* */ /* remove format, so simple list */ /* output */ /* */ data _null_; set inp; file log dsd; if _n_ = 1 then put 'Test 2'; put a (b c) (:2.0); run; /* */ /* manually place delimiter after */ /* formatted output */ /* */ data _null_; set inp; file log dsd; if _n_ = 1 then put 'Test 3'; put a 5.0 ',' (b c) (:2.0); run; /* */ /* modified list for all variables */ /* */ data _NULL_; set inp; file log dsd; if _n_ = 1 then put 'Test 3'; put a :5.0 (b c) (:2.0); run;

Operating System and Release InformationProduct Family   Product   System   SAS Release  
Reported   Fixed*  
SAS System   Base SAS   Microsoft Windows XP Professional   9.1 TS1M3  
Microsoft® Windows® for 64-Bit Itanium-based Systems
  9.1 TS1M3  
Microsoft Windows XP 64-bit Edition
  9.1 TS1M3  
Microsoft Windows NT Workstation
  9.1 TS1M3  
Microsoft Windows Server 2003 Standard Edition
  9.1 TS1M3  
Microsoft Windows Server 2003 Datacenter Edition
  9.1 TS1M3  
Microsoft Windows Server 2003 Enterprise Edition
  9.1 TS1M3  
Microsoft Windows 2000 Datacenter Server
  9.1 TS1M3  
Microsoft Windows 2000 Professional
  9.1 TS1M3  
Microsoft Windows 2000 Server
  9.1 TS1M3  
z/OS
  9.1 TS1M3  
64-bit Enabled Solaris
  9.1 TS1M3  
Microsoft Windows 2000 Advanced Server
  9.1 TS1M3  
Linux
  9.1 TS1M3  
Linux on Itanium
  9.1 TS1M3  
HP-UX IPF
  9.1 TS1M3  
64-bit Enabled HP-UX
  9.1 TS1M3  
OpenVMS Alpha
  9.1 TS1M3  
64-bit Enabled AIX
  9.1 TS1M3  
Tru64 UNIX
  9.1 TS1M3  
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-12-31 03:12 最后登录:2025-12-31 03:12
栏目列表
推荐内容