SAS MACRO INTERVIEW QUESTIONS 1 | SAS ADVANCED TRAINING
ฝัง
- เผยแพร่เมื่อ 25 ม.ค. 2025
- SAS MACRO INTERVIEW QUESTIONS AND ANSWERS | SAS MACRO TRAINING
This SAS tutorial contains below topics on SAS macro variables
Key Questions:
Time Topics
MM:SS
00:23 What are the various ways to create macro variables in SAS?
01:21 What is the difference between Call Symput and call Symputx?
04:03 Write a program to print all the macro variables in SAS log?
05:10 What would be the value of variable z in SAS log and why?
08:22 What would be the value of variable x inside macro and outside macro definition in below
program and why?
14:48 How can you remove a macro variable?
Channel contact details:
officialsasworld@gmail.com
Very informative video
Very nice video...
Sometime we use but this is actually with reasons...👌👌
Thanks for the video
Very useful videos. Please upload more scenario based interview questions.
Finally we would love to watch ur videos..do more videos sir
Sorry, was busy with my daily job and could not create more videos. Now I have some time, so will create more
Wanted more explanation on local and global variables and wanted interview questions on functions
Thanks and very usefull.
Glad it was helpful!
Awesome, if you add SDTM or Adam topic then thing will be superb.
We will try
Super explanation sir keep it up
I am glad you liked it. Thanks
Very nice explanation sir, please do more videos on Macros
Sure I will do.
can you please make a video how to pic latest file available by using SAS Macro
Hi, I will create one soon.
Symdel and call symdel both same or not those can delete local ,global macro variable ?
Both are not same, call symdel can delete only one variable at a time where as %symdel can delete multiple variables. Both removes global macro variables.
@@sasworld2021
Thank you sir 🙏
Rolling cumulative count possible with proc SQL if so please give details
Yes, it's possible. See below program:
data salary;
input sal;
datalines;
100
200
300
400
;
run;
proc sql;
create table cumulative_salary as
select a.*,(select sum(sal) from salary as cm where cm.sal
Thank you for giving reply n this question shooted by one interviewer recently.
call symputx does it applies both characteric and numeric varikables
Yes