Help using Base SAS procedures

SAS Questions

Accepted Solution Solved
Reply
Regular Contributor
Posts: 195
Accepted Solution

SAS Questions

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


Accepted Solutions
Solution
‎05-24-2012 02:58 PM
Respected Advisor
Posts: 3,777

Re: SAS Questions

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


All Replies
Solution
‎05-24-2012 02:58 PM
Respected Advisor
Posts: 3,777

Re: SAS Questions

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_

Regular Contributor
Posts: 195

Re: SAS Questions

thanks

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

Respected Advisor
Posts: 3,777

Re: SAS Questions

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:

Super User
Posts: 9,681

Re: SAS Questions

"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

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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