BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
UrvishShah
Fluorite | Level 6

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

1 ACCEPTED SOLUTION

Accepted Solutions
data_null__
Jade | Level 19

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_

View solution in original post

4 REPLIES 4
data_null__
Jade | Level 19

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
Fluorite | Level 6

thanks

you are always so conceptually clear and ready to give any  answers in SAS.

data_null__
Jade | Level 19

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:

Ksharp
Super User

"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

SAS Innovate 2025: Register Now

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!

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 4034 views
  • 0 likes
  • 3 in conversation