导航

07 2017 档案

摘要:以下代码可以直接在SAS执行查看效果 ods path reset;ods path show;ods html close;options nodate;ods pdf file="ProcOdstableTable.pdf";title "Using PROC ODSTABLE"; %let c 阅读全文

posted @ 2017-07-27 14:12 高山老王 阅读(1599) 评论(0) 推荐(0) 编辑

摘要:data a; interval='month'; start='14FEB2013'd; end='13MAR2013'd; months_default=intck(interval, start, end); months_discrete=intck(interval, start, end 阅读全文

posted @ 2017-07-27 10:40 高山老王 阅读(2161) 评论(0) 推荐(0) 编辑

摘要:(一)字符转换: 1)字符型转换成数值型 Numvar=INPUT(source,informat) 2)数值型转换成字符型 Chavar=PUT(source,format) (二)字符型变量的处理 1)提取字符串 substr('string',start,length) scan('strin 阅读全文

posted @ 2017-07-26 07:52 高山老王 阅读(2193) 评论(0) 推荐(0) 编辑

摘要:"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\zh\sasv9.cfg" 阅读全文

posted @ 2017-07-24 17:33 高山老王 阅读(966) 评论(0) 推荐(0) 编辑

摘要:DATA _NULL_; SET FB.FINAL_NORMAL NOBS=NM; CALL SYMPUTX('N',NM); STOP; RUN; 阅读全文

posted @ 2017-07-19 16:31 高山老王 阅读(168) 评论(0) 推荐(0) 编辑

摘要:注册spawner 服务"c:\Program Files\SASHome\SASFoundation\9.4\cntspawn.exe" -install -service 5110 卸载spawner服务"C:\Program Files\SASHome\SASFoundation\9.4\cn 阅读全文

posted @ 2017-07-12 18:30 高山老王 阅读(220) 评论(0) 推荐(0) 编辑

摘要:代码: proc ds2;data _null_; method init(); dcl package json j(); dcl int rc tokenType parseFlags; dcl bigint lineNum colNum; dcl nvarchar(128) token abc 阅读全文

posted @ 2017-07-11 15:34 高山老王 阅读(2003) 评论(0) 推荐(0) 编辑

摘要:data theLast; set sashelp.class nobs=last point=last; output; stop; run; data _null_; set theLast; call symputx("name1",name);run; %put name = &name1 阅读全文

posted @ 2017-07-08 15:08 高山老王 阅读(295) 评论(0) 推荐(0) 编辑

摘要:data _null_;a='Dogcat';b=' Dog cat';c=' Dog cat ';Ra=length(a);Rb=length(b);Rc=length(c);put Ra=Rb=Rc=;run; 阅读全文

posted @ 2017-07-05 18:01 高山老王 阅读(1795) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示