由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - help with my SAS macro
相关主题
SAS 日期格式 YYMMDDn8.一个有意思的问题,关于SAS的运算时间。
请教一道SAS MACRO编程的问题。怎么都不明白。谢谢Re: SAS help : How to use Macro to select procedurs
why this error in %if statementNeed advice on SAS macro debugging
请问SAS ADV 130中74 和80题R 语言有像SAS 一样的macro吗?
请教SAS adv 题库一道macro题SAS问题求助
Stupid SAS programming style is driving me crazy....申请SAS PROGRAMMER职位,要懂哪些东西?
SAS MACRO和Procedure[合集] 问个SAS的问题
急问:SAS batch submission with macro variable[合集] 申请SAS PROGRAMMER职位,要懂哪些东西?
相关话题的讨论汇总
话题: date话题: sas话题: yymmddn8话题: 01jan2006话题: macro
进入Statistics版参与讨论
1 (共1页)
n***p
发帖数: 508
1
I kept getting error message when i ran the code below. Can anyone point out
what is wrong? how to modify the code? thanks.
%let Date = 01JAN2006 ;
data _null_;
call symputx("date",left(put(&date,yymmddn8.)));
run;
l***a
发帖数: 12410
2
try "&date."d

out

【在 n***p 的大作中提到】
: I kept getting error message when i ran the code below. Can anyone point out
: what is wrong? how to modify the code? thanks.
: %let Date = 01JAN2006 ;
: data _null_;
: call symputx("date",left(put(&date,yymmddn8.)));
: run;

s******y
发帖数: 352
3
why you need an extra step for creating a M var.
%let Date =%qsysfunc(inputN(01JAN2006,date9), yymmddn8);
%put >&date<;
%let Date =%qsysfunc(putN('01JAN2006'd, yymmddn8));
%put >&date<;
BAOZI please!

out

【在 n***p 的大作中提到】
: I kept getting error message when i ran the code below. Can anyone point out
: what is wrong? how to modify the code? thanks.
: %let Date = 01JAN2006 ;
: data _null_;
: call symputx("date",left(put(&date,yymmddn8.)));
: run;

1 (共1页)
进入Statistics版参与讨论
相关主题
[合集] 申请SAS PROGRAMMER职位,要懂哪些东西?请教SAS adv 题库一道macro题
关于SAS Advance 9 的考试体会Stupid SAS programming style is driving me crazy....
我也来攒个RP,谈谈SAS ADVANCE。SAS MACRO和Procedure
[合集] 用SAS生成表格,怎么弄比较好?急问:SAS batch submission with macro variable
SAS 日期格式 YYMMDDn8.一个有意思的问题,关于SAS的运算时间。
请教一道SAS MACRO编程的问题。怎么都不明白。谢谢Re: SAS help : How to use Macro to select procedurs
why this error in %if statementNeed advice on SAS macro debugging
请问SAS ADV 130中74 和80题R 语言有像SAS 一样的macro吗?
相关话题的讨论汇总
话题: date话题: sas话题: yymmddn8话题: 01jan2006话题: macro