Hi All,
Can anyone please give me the answers of the following questions ?
Name statements that are recognized at compile time only?
Identify statements whose placement in the DATA step is critical.
Name statements that function at both compile and execution time.
Name statements that are execution only.
Thanks
Urvish
UrvishShah wrote:
Hi All,
Can anyone please give me the answers of the following questions ? My answers are not completly correct, perhaps not even close.
Name statements that are recognized at compile time only? KEEP DROP RENAME. forgot some ATTRIB LABEL FORMAT INFORMAT
Identify statements whose placement in the DATA step is critical. All of them in one way or another. Or maybe all except KEEP DROP RENAME since as I recall they don't add variables to the PDV.
Name statements that function at both compile and execution time. FILE INFILE
Name statements that are execution only. I would say none since all statements must be compiled. For example an assignment statement can both declare a variable and assign it a value at exectuion. But maybe the question is looking for things like DO IF etc.
Thanks
Urvish
Message was edited by: data _null_
UrvishShah wrote:
Hi All,
Can anyone please give me the answers of the following questions ? My answers are not completly correct, perhaps not even close.
Name statements that are recognized at compile time only? KEEP DROP RENAME. forgot some ATTRIB LABEL FORMAT INFORMAT
Identify statements whose placement in the DATA step is critical. All of them in one way or another. Or maybe all except KEEP DROP RENAME since as I recall they don't add variables to the PDV.
Name statements that function at both compile and execution time. FILE INFILE
Name statements that are execution only. I would say none since all statements must be compiled. For example an assignment statement can both declare a variable and assign it a value at exectuion. But maybe the question is looking for things like DO IF etc.
Thanks
Urvish
Message was edited by: data _null_
thanks
you are always so conceptually clear and ready to give any answers in SAS.
UrvishShah wrote:
you are always so conceptually clear
That makes me laugh because most folks are all like "What did he say?"
UrvishShah wrote:
and ready to give any answers in SAS.
Yes even if they are wrong :smileymischief:
"Name statements that are execution only."
%include is such statement , which wouldn't compile . it executed immediately .So you want execute some macro code, it is a good choice.
Ksharp
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.