全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
799 3
2024-10-29
原版
data _null_;
  call symput("date",compress(left(put("&sysdate"d,yymmdd10.)),"-"));
run;
然后我想改成%let语句就不对
%let date=%sysfunc(tranwrd(put("&sysdate"d,yymmdd10.),"-",%str()));
不是很懂,有大神解释一下吗
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2024-10-29 13:51:31
不要沉啊,小白求问
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2024-11-12 14:35:36
复制代码
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2024-11-12 14:42:57
SAS Functions Not Available with %SYSFUNC and %QSYSFUNC
All Variable Information Functions        ALLCOMB        ALLPERM
DIF        DIM        HBOUND
IORCMSG        INPUT        LAG
LBOUND        LEXCOMB        LEXCOMBI
LEXPERK        LEXPERM        MISSING
PUT        RESOLVE        SYMGET
Note:   Instead of INPUT and PUT, which are not available with %SYSFUNC and %QSYSFUNC, use INPUTN, INPUTC, PUTN, and PUTC.  [cautionend]

Note:   The Variable Information functions include functions such as VNAME and VLABEL. For a complete list, see Definitions of Functions and CALL Routines in SAS Language Reference: Dictionary.  [cautionend]
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群