Answer Posted / amaran
Can i used _n_ in proc sql; Or its only for Datasteo
_n_ is a Autometic variable created in a datastep. It is a
part of PDV. It is used to store the iteration count of the
Input statement.
Proc SQL doesnot create a PDV. so _n_ variable cannot be
used there.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain what is data step?
What is maximum storage capability of SAS?
what is data access? : Sas-di
What is the difference between input and infile statement?
what is the Population you used in your project, is it ITT or PP?
what is SAS OPTIMIZATION?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
what is sas and what are the functions? : Sas-administrator
what does the run statement do? : Sas programming
How do you debug and test your SAS programs?
Mention the validation tools used in SAS?
Describe 5 ways to do a “table lookup” in SAS?
what is business intelligence? : Sas-bi
What is maximum number of rows and cols can be handled in SAS?
What are the difference between sas functions and procedures?